Skip to content

Commit 89474dc

Browse files
authored
fix github action phpunit annotations (#471)
1 parent cd7fb67 commit 89474dc

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

Diff for: .github/workflows/tests-postgres.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -66,4 +66,4 @@ jobs:
6666
env:
6767
PGPASSWORD: postgres
6868

69-
- run: composer phpunit
69+
- run: composer phpunit -- --colors=always

Diff for: .github/workflows/tests.yml

+6-6
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,8 @@ jobs:
8787
# ignore php8.2 requirement error https://github.com/sebastianbergmann/phpunit/issues/5033
8888
composer-options: "--prefer-dist --no-progress --ignore-platform-req=php+"
8989

90-
- name: Configure matchers
91-
uses: mheap/phpunit-matcher-action@v1
90+
- name: Setup Problem Matchers for PHPUnit
91+
run: echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json"
9292

9393
- name: Lint
9494
run: php vendor/bin/parallel-lint --colors src tests
@@ -97,7 +97,7 @@ jobs:
9797
run: |
9898
mysql -uroot -h127.0.0.1 -proot < tests/schema.sql
9999
100-
- run: composer phpunit -- --teamcity
100+
- run: composer phpunit -- --colors=always
101101

102102
replay:
103103
name: PHPUnit (reflection replay)
@@ -135,7 +135,7 @@ jobs:
135135
# ignore php8.2 requirement error https://github.com/sebastianbergmann/phpunit/issues/5033
136136
composer-options: "--prefer-dist --no-progress --ignore-platform-req=php+"
137137

138-
- name: Configure matchers
139-
uses: mheap/phpunit-matcher-action@v1
138+
- name: Setup Problem Matchers for PHPUnit
139+
run: echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json"
140140

141-
- run: composer phpunit -- --teamcity
141+
- run: composer phpunit -- --colors=always

0 commit comments

Comments
 (0)