From 4f3ac956127e12ddcf9094c795bccdd8d044e49f Mon Sep 17 00:00:00 2001 From: Brandon Kraft Date: Fri, 31 Jan 2025 14:48:36 -0600 Subject: [PATCH] Remove old tests --- .github/workflows/ci.yaml | 54 --------------------------------------- 1 file changed, 54 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index ff9c1fb..6638bee 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -235,57 +235,3 @@ jobs: - name: "Run integration tests with phpunit/phpunit" run: "cp -f src/dbless-wpdb.php wordpress/wp-content/db.php && vendor/bin/phpunit --colors=always" - - tests-old: - name: "Tests on unsupported PHP" - - runs-on: "ubuntu-20.04" - - strategy: - matrix: - php-version: - - "7.1" - - "7.0" - - "5.6" - - dependencies: - - "lowest" - - "highest" - - steps: - - name: "Checkout" - uses: "actions/checkout@v3" - - - name: "Install PHP with extensions" - uses: "shivammathur/setup-php@v2" - with: - php-version: "${{ matrix.php-version }}" - extensions: "${{ env.PHP_EXTENSIONS }}" - coverage: "none" - tools: "composer:2.2" - - - name: "Determine composer cache directory" - shell: "bash" - run: "echo \"COMPOSER_CACHE_DIR=$(composer config cache-dir)\" >> $GITHUB_ENV" - - - name: "Cache dependencies installed with composer" - uses: "actions/cache@v3" - with: - path: "${{ env.COMPOSER_CACHE_DIR }}" - key: "php-${{ matrix.php-version }}-composer-${{ matrix.dependencies }}-${{ hashFiles('composer.lock') }}" - restore-keys: "php-${{ matrix.php-version }}-composer-${{ matrix.dependencies }}-" - - - name: "Install lowest dependencies from composer.json" - if: "matrix.dependencies == 'lowest'" - run: "composer update --no-interaction --no-progress --no-suggest --prefer-lowest" - - - name: "Install locked dependencies from composer.lock" - if: "matrix.dependencies == 'locked'" - run: "composer install --no-interaction --no-progress --no-suggest" - - - name: "Install highest dependencies from composer.json" - if: "matrix.dependencies == 'highest'" - run: "composer update --no-interaction --no-progress --no-suggest" - - - name: "Run integration tests with phpunit/phpunit" - run: "cp -f src/dbless-wpdb.php wordpress/wp-content/db.php && vendor/bin/phpunit --colors=always"