File tree 1 file changed +6
-5
lines changed
1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change 4
4
push :
5
5
branches :
6
6
- master
7
+ - cake5
7
8
pull_request :
8
9
branches :
9
10
- ' *'
@@ -62,21 +63,21 @@ jobs:
62
63
if [[ ${{ matrix.db-type }} == 'pgsql' ]]; then export DB_URL='postgres://postgres:[email protected] /postgres'; fi
63
64
64
65
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
66
67
else
67
- vendor/bin/phpunit tests/TestCase
68
+ vendor/bin/phpunit
68
69
fi
69
70
70
71
- name : Code Coverage Report
71
72
if : success() && matrix.php-version == '8.1' && matrix.db-type == 'mysql'
72
- uses : codecov/codecov-action@v1
73
+ uses : codecov/codecov-action@v4
73
74
74
75
cs-stan :
75
76
name : Coding Standard & Static Analysis
76
77
runs-on : ubuntu-22.04
77
78
78
79
steps :
79
- - uses : actions/checkout@v2
80
+ - uses : actions/checkout@v4
80
81
81
82
- name : Setup PHP
82
83
uses : shivammathur/setup-php@v2
87
88
tools : psalm:5, phpstan:1.10
88
89
89
90
- name : Run phpcs
90
- run : vendor/bin/phpcs --standard=CakePHP src/ tests/
91
+ run : vendor/bin/phpcs
91
92
92
93
- name : Run psalm
93
94
if : success() || failure()
You can’t perform that action at this time.
0 commit comments