Skip to content

Commit 2a54789

Browse files
authored
Update ci.yml
1 parent 682153a commit 2a54789

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,10 @@ name: CI
33

44
on:
55
push:
6+
67
pull_request:
8+
branches:
9+
- '*'
710

811
jobs:
912
testsuite:
@@ -65,8 +68,8 @@ jobs:
6568
if [[ ${{ matrix.db-type }} == 'sqlite' ]]; then export DB_URL='sqlite:///:memory:'; fi
6669
if [[ ${{ matrix.db-type }} == 'mysql' ]]; then export DB_URL='mysql://root:[email protected]/cakephp?encoding=utf8'; fi
6770
if [[ ${{ matrix.db-type }} == 'pgsql' ]]; then export DB_URL='postgres://postgres:[email protected]/postgres'; fi
68-
if [[ ${{ matrix.php-version }} == '7.4' ]]; then
69-
export CODECOVERAGE=1 && vendor/bin/phpunit --verbose --coverage-clover=coverage.xml
71+
if [[ ${{ matrix.php-version }} == '8.1' ]]; then
72+
export CODECOVERAGE=1 && vendor/bin/phpunit --display-deprecations --display-incomplete --display-skipped --coverage-clover=coverage.xml
7073
else
7174
vendor/bin/phpunit
7275
fi
@@ -109,14 +112,11 @@ jobs:
109112

110113
- name: Run PHP CodeSniffer
111114
run: composer cs-check
112-
continue-on-error: true
113115

114116
- name: Run psalm
115117
if: success() || failure()
116118
run: composer psalm
117-
continue-on-error: true
118119

119120
- name: Run phpstan
120121
if: success() || failure()
121122
run: composer stan
122-
continue-on-error: true

0 commit comments

Comments
 (0)