PHPUnit problem matchers not showing up #451
-
So, I've been trying all night long to setup PHPUnit with problem matchers on Laravel app. This is my workflow file (I removed some jobs in this file to make it shorter)
Is there anything wrong that I've done so far? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
@dityaaa You can use the - name: Configure matchers
uses: mheap/phpunit-matcher-action@v1
- name: Run Tests
run: phpunit --teamcity Tests |
Beta Was this translation helpful? Give feedback.
@dityaaa
Current problem matcher patterns in
phpunit.json
do not support custom error messages in assertions.You can use the
teamcity
reporter inphpunit
andmheap/phpunit-matcher-action
GitHub Action to generate annotations