Skip to content

Commit

Permalink
fix(github): actions
Browse files Browse the repository at this point in the history
  • Loading branch information
thepercival committed Apr 12, 2024
1 parent 50985fe commit 8ab3a14
Showing 1 changed file with 12 additions and 8 deletions.
20 changes: 12 additions & 8 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,18 +12,22 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Setup PHP 8.3
uses: shivammathur/setup-php@v2
with:
php-version: '8.3'

- name: Validate composer.json and composer.lock
run: composer validate --strict

- name: Install dependencies
run: composer install --prefer-dist --no-progress --no-suggest
- uses: php-actions/composer@v6
with:
php_version: "8.3"

- name: Run test suite
run: composer run-script test
- name: PHPUnit Tests
uses: php-actions/phpunit@v3
with:
php_version: 8.3
php_extensions: xdebug
configuration: tests/phpunit.xml
env:
XDEBUG_MODE: coverage

0 comments on commit 8ab3a14

Please sign in to comment.