We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0c90cdf commit 9dfe92dCopy full SHA for 9dfe92d
.github/workflows/test.yml
@@ -1,7 +1,7 @@
1
name: Test
2
on: [push]
3
jobs:
4
- phpunit:
+ unit-tests:
5
runs-on: ubuntu-latest
6
steps:
7
- name: Checkout project
@@ -10,7 +10,18 @@ jobs:
10
run: composer install
11
- name: Run Testsuite
12
run: vendor/bin/phpunit
13
+ code-coverages:
14
+ runs-on: ubuntu-latest
15
+ needs: unit-test
16
+ steps:
17
+ - name: Checkout project
18
+ uses: actions/checkout@v1
19
+ - name: Composer dependencies
20
+ run: composer install
21
+ - name: Run Testsuite
22
+ run: vendor/bin/phpunit --coverage-clover=coverage.xml
23
- name: Upload coverage reports to Codecov
24
uses: codecov/codecov-action@v4.0.1
25
with:
26
token: ${{ secrets.CODECOV_TOKEN }}
27
+ file: coverage.xml
0 commit comments