Skip to content

Commit

Permalink
ci: test 8.3
Browse files Browse the repository at this point in the history
  • Loading branch information
jiripudil committed Dec 30, 2023
1 parent 0489cad commit 4baf24e
Showing 1 changed file with 18 additions and 13 deletions.
31 changes: 18 additions & 13 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,36 +6,41 @@ on:
branches: [main]

jobs:
tests-81:
tests:
runs-on: ubuntu-latest
strategy:
matrix:
php-version: ['8.1', '8.2', '8.3']
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: shivammathur/setup-php@v2
with:
php-version: '8.1'
coverage: pcov
php-version: ${{ matrix.php-version }}
coverage: none
- run: composer install --no-interaction
- run: composer run tests-with-coverage
- uses: codecov/codecov-action@v3
- run: composer run tests

tests-82:
coverage:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: shivammathur/setup-php@v2
with:
php-version: '8.2'
coverage: none
php-version: '8.3'
coverage: pcov
- run: composer install --no-interaction
- run: composer run tests
- run: composer run tests-with-coverage
- uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}

phpstan:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: shivammathur/setup-php@v2
with:
php-version: '8.1'
php-version: '8.3'
coverage: none
- run: composer install --no-interaction
- run: composer run phpstan

0 comments on commit 4baf24e

Please sign in to comment.