Skip to content

Commit

Permalink
CI updates
Browse files Browse the repository at this point in the history
  • Loading branch information
floriankraemer committed Mar 13, 2024
1 parent 97c1ec1 commit cd22990
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
strategy:
fail-fast: false
matrix:
php-version: ['7.4', '8.0']
php-version: ['8.0', '8.1', '8.2', '8.3']

steps:
- uses: actions/checkout@v1
Expand All @@ -26,28 +26,28 @@ jobs:

- name: Composer install
run: |
if [[ ${{ matrix.prefer-lowest == '7.4' }} ]]; then
if [[ ${{ matrix.prefer-lowest == '8.1' }} ]]; then
composer update --prefer-lowest --prefer-stable
else
composer install
fi
- name: Run PHPUnit
run: |
if [[ ${{ matrix.php-version }} == '7.4' ]]; then
if [[ ${{ matrix.php-version }} == '8.1' ]]; then
bin/phpunit --coverage-clover=coverage.xml
else
bin/phpunit
fi
- name: Code Coverage Report
if: success() && matrix.php-version == '7.4'
uses: codecov/codecov-action@v1
if: success() && matrix.php-version == '8.1'
uses: codecov/codecov-action@v4

validation:
name: Coding Standard & Static Analysis
runs-on: ubuntu-20.04

steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v2
with:
fetch-depth: 1

Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
}
],
"require": {
"php": "^7.4|^8.0"
"php": "^8.0"
},
"minimum-stability": "stable",
"autoload": {
Expand Down

0 comments on commit cd22990

Please sign in to comment.