Skip to content

Commit

Permalink
Run tests with correct PHP version in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
lvps committed Apr 29, 2024
1 parent 25e5f5c commit 1ed4634
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
php: ['8.0', '8.1', 'latest']
php: ['8.0', '8.2', 'latest']

steps:
- uses: actions/checkout@v2
Expand Down Expand Up @@ -43,10 +43,18 @@ jobs:
# php_extensions: ldap mbstring json sqlite3

- name: Linting
run: composer lint
uses: php-actions/composer@v6
with:
php_extensions: ldap mbstring json sqlite3
php_version: "${{ matrix.php }}"
command: lint

- name: Create config
run: cp config/config-example.php config/config.php

- name: Run tests
run: composer test
uses: php-actions/composer@v6
with:
php_extensions: ldap mbstring json sqlite3
php_version: "${{ matrix.php }}"
command: test

0 comments on commit 1ed4634

Please sign in to comment.