Skip to content

Commit 2783105

Browse files
committed
Update CI config
1 parent 96dc833 commit 2783105

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

.github/workflows/ci.yml

+6-5
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ on:
44
push:
55
branches:
66
- master
7+
- cake5
78
pull_request:
89
branches:
910
- '*'
@@ -62,21 +63,21 @@ jobs:
6263
if [[ ${{ matrix.db-type }} == 'pgsql' ]]; then export DB_URL='postgres://postgres:[email protected]/postgres'; fi
6364
6465
if [[ ${{ matrix.php-version }} == '8.1' && ${{ matrix.db-type }} == 'mysql' ]]; then
65-
vendor/bin/phpunit tests/TestCase --coverage-clover=coverage.xml
66+
vendor/bin/phpunit --coverage-clover=coverage.xml
6667
else
67-
vendor/bin/phpunit tests/TestCase
68+
vendor/bin/phpunit
6869
fi
6970
7071
- name: Code Coverage Report
7172
if: success() && matrix.php-version == '8.1' && matrix.db-type == 'mysql'
72-
uses: codecov/codecov-action@v1
73+
uses: codecov/codecov-action@v4
7374

7475
cs-stan:
7576
name: Coding Standard & Static Analysis
7677
runs-on: ubuntu-22.04
7778

7879
steps:
79-
- uses: actions/checkout@v2
80+
- uses: actions/checkout@v4
8081

8182
- name: Setup PHP
8283
uses: shivammathur/setup-php@v2
@@ -87,7 +88,7 @@ jobs:
8788
tools: psalm:5, phpstan:1.10
8889

8990
- name: Run phpcs
90-
run: vendor/bin/phpcs --standard=CakePHP src/ tests/
91+
run: vendor/bin/phpcs
9192

9293
- name: Run psalm
9394
if: success() || failure()

0 commit comments

Comments
 (0)