diff options
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/ci.yml | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 00072c8c..681c45ac 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -25,7 +25,6 @@ jobs: - ubuntu-latest php-version: - - "7.1" - "7.2" - "7.3" - "7.4" @@ -63,17 +62,20 @@ jobs: extensions: ${{ env.PHP_EXTENSIONS }} ini-values: ${{ env.PHP_INI_VALUES }} - - name: Validate composer.json and composer.lock - run: composer validate - - name: Cache Composer packages id: composer-cache uses: actions/cache@v3 with: path: vendor - key: ${{ runner.os }}-php-${{ matrix.php-version }}-${{ hashFiles('**/composer.lock') }} + key: v5r2-${{ runner.os }}-php-${{ matrix.php-version }}-${{ hashFiles('**/composer.lock') }} restore-keys: | - ${{ runner.os }}-php-${{ matrix.php-version }}- + v5r1-${{ runner.os }}-php-${{ matrix.php-version }}- + + - name: Install dependencies + uses: php-actions/composer@v6 + + - name: Run make + run: make -B - name: Run tests with phpunit - run: ./run-tests.sh + run: php ./vendor/phpunit/phpunit/phpunit |
