File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2020 with :
2121 extensions : intl
2222 php-version : " ${{ matrix.php-versions }}"
23- coverage : xdebug
23+ coverage : ${{ matrix.php-versions == '8.4' && ' xdebug' || 'none' }}
2424 - name : Setup MySQL
2525 uses : shogo82148/actions-setup-mysql@v1
2626 with :
@@ -40,11 +40,20 @@ jobs:
4040 run : |
4141 composer phpstan
4242 bin/rector process --dry-run
43- - name : " Run test suite"
43+ - name : " Run test suite (no coverage)"
44+ if : matrix.php-versions != '8.4'
45+ run : |
46+ composer dump-autoload -o
47+ bin/kahlan
48+
49+ - name : " Run test suite (with coverage)"
50+ if : matrix.php-versions == '8.4'
4451 run : |
4552 composer dump-autoload -o
4653 mkdir -p build/logs && bin/kahlan --coverage=4 --reporter=verbose --clover=build/logs/clover.xml
54+
4755 - name : Upload coverage to Codecov
56+ if : matrix.php-versions == '8.4'
4857 uses : codecov/codecov-action@v1
4958 with :
5059 token : ${{ secrets.CODECOV_TOKEN }}
You can’t perform that action at this time.
0 commit comments