Skip to content

Commit b63b51a

Browse files
author
Valentin Wotschel
committed
Add PHP 8.3 to GitHub Workflows
1 parent ccdafd8 commit b63b51a

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

Diff for: .github/workflows/php-tests.yml

+3-2
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
strategy:
1515
matrix:
1616
operating-system: [ ubuntu-latest ]
17-
php-version: [ '8.0', '8.1', '8.2' ]
17+
php-version: [ '8.0', '8.1', '8.2', '8.3' ]
1818

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

@@ -46,10 +46,11 @@ jobs:
4646

4747
- name: PHPUnit Tests
4848
run: |
49-
if [[ ${{ matrix.php-version }} == '8.0' ]]; then
49+
if [[ '${{ matrix.php-version }}' == '8.0' ]]; then
5050
vendor/bin/phpunit --configuration phpunit-9.6.xml --coverage-clover tests/coverage.xml
5151
else
5252
vendor/bin/phpunit --coverage-clover tests/coverage.xml
53+
fi
5354
5455
- name: Upload coverage reports to Codecov
5556
uses: codecov/codecov-action@v3

Diff for: README.md

+5
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,11 @@
4646
<a href="https://app.codecov.io/gh/WalterWoshid/php-dissect/flags" target="_blank">
4747
<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"/>
4848
</a>
49+
50+
<!-- Coverage - PHP 8.3 -->
51+
<a href="https://app.codecov.io/gh/WalterWoshid/php-dissect/flags" target="_blank">
52+
<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"/>
53+
</a>
4954
</p>
5055

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

0 commit comments

Comments
 (0)