Skip to content

Commit

Permalink
run on pushes and PRs, run the phpunit-ci docker-compose service that…
Browse files Browse the repository at this point in the history
… generates a clover coverage file
  • Loading branch information
SamMousa committed Feb 3, 2021
1 parent 970cfce commit ce25dd7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: "Tests"

on: [ push ]
on: [push, pull_request]

jobs:
test:
Expand All @@ -10,7 +10,7 @@ jobs:
uses: actions/checkout@v2
- run: docker-compose build
- run: docker-compose run --rm composer
- run: docker-compose run --rm phpunit
- run: docker-compose run --rm phpunit-ci
- uses: sudo-bot/action-scrutinizer@latest
with:
cli-args: "--format=php-clover tests/coverage/clover.xml"

0 comments on commit ce25dd7

Please sign in to comment.