File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44 push :
55 pull_request :
66
7+ env :
8+ COVERAGE_PHP_VERSION : " 8.3"
9+
710jobs :
811 phpunit :
912 name : PHPUnit
@@ -40,16 +43,16 @@ jobs:
4043
4144 - name : Run PHPUnit
4245 run : vendor/bin/phpunit
43- if : ${{ matrix.php-version != '8.1' }}
46+ if : ${{ matrix.php-version != env.COVERAGE_PHP_VERSION }}
4447
4548 - name : Run PHPUnit with coverage
4649 run : |
4750 mkdir -p build/logs
4851 vendor/bin/phpunit --coverage-clover build/logs/clover.xml
49- if : ${{ matrix.php-version == '8.1' }}
52+ if : ${{ matrix.php-version == env.COVERAGE_PHP_VERSION }}
5053
5154 - name : Upload coverage report to Coveralls
5255 run : vendor/bin/php-coveralls --coverage_clover=build/logs/clover.xml -v
5356 env :
5457 COVERALLS_REPO_TOKEN : ${{ secrets.GITHUB_TOKEN }}
55- if : ${{ matrix.php-version == '8.1' }}
58+ if : ${{ matrix.php-version == env.COVERAGE_PHP_VERSION }}
You can’t perform that action at this time.
0 commit comments