Skip to content

Commit

Permalink
Add PHP 8.3 to GitHub Workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
Valentin Wotschel committed Aug 6, 2024
1 parent ccdafd8 commit b63b51a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/php-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
strategy:
matrix:
operating-system: [ ubuntu-latest ]
php-version: [ '8.0', '8.1', '8.2' ]
php-version: [ '8.0', '8.1', '8.2', '8.3' ]

name: PHP ${{ matrix.php-version }} test on ${{ matrix.operating-system }}

Expand Down Expand Up @@ -46,10 +46,11 @@ jobs:

- name: PHPUnit Tests
run: |
if [[ ${{ matrix.php-version }} == '8.0' ]]; then
if [[ '${{ matrix.php-version }}' == '8.0' ]]; then
vendor/bin/phpunit --configuration phpunit-9.6.xml --coverage-clover tests/coverage.xml
else
vendor/bin/phpunit --coverage-clover tests/coverage.xml
fi
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
Expand Down
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,11 @@
<a href="https://app.codecov.io/gh/WalterWoshid/php-dissect/flags" target="_blank">
<img alt="Coverage - PHP 8.2" src="https://img.shields.io/codecov/c/github/WalterWoshid/php-dissect?flag=os-ubuntu-latest_php-8.2&label=Coverage - PHP 8.2&labelColor=ebdbb2&style=flat&logo=codecov&logoColor=FFC107&color=FFC107"/>
</a>

<!-- Coverage - PHP 8.3 -->
<a href="https://app.codecov.io/gh/WalterWoshid/php-dissect/flags" target="_blank">
<img alt="Coverage - PHP 8.3" src="https://img.shields.io/codecov/c/github/WalterWoshid/php-dissect?flag=os-ubuntu-latest_php-8.3&label=Coverage - PHP 8.3&labelColor=ebdbb2&style=flat&logo=codecov&logoColor=FFC107&color=FFC107"/>
</a>
</p>

<h2 align="center">Dissect is a set of tools for lexical and syntactical analysis written in pure PHP.</h2>
Expand Down

0 comments on commit b63b51a

Please sign in to comment.