Skip to content

Commit a647ec6

Browse files
authored
Merge pull request #71 from BrianHenryIE/github-actions-phpunit-annotations
GitHub Actions annotations for PHPUnit
2 parents a5f45b6 + f81e3c6 commit a647ec6

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
- name: Install dependencies
2424
run: composer install --prefer-dist --no-suggest --no-progress
2525
- name: Run tests
26-
run: composer run test
26+
run: vendor/bin/phpunit --printer mheap\\GithubActionsReporter\\Printer
2727
lint:
2828
runs-on: ubuntu-latest
2929
name: Lint project files

composer.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@
2424
},
2525
"require-dev": {
2626
"phpunit/phpunit": "^8.5",
27-
"squizlabs/php_codesniffer": "^3.5"
27+
"squizlabs/php_codesniffer": "^3.5",
28+
"mheap/phpunit-github-actions-printer": "^1.4"
2829
},
2930
"scripts": {
3031
"lint": [

0 commit comments

Comments
 (0)