Skip to content

Commit 0ac1784

Browse files
committed
Add phpunit tests to the github action
1 parent a8b9118 commit 0ac1784

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

.github/workflows/php-quality.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,4 +32,13 @@ jobs:
3232
- name: Check psalm
3333
run: |
3434
mkdir -p dist
35-
composer psalm
35+
composer psalm
36+
37+
- name: Check unit test
38+
run: composer tests-cov -- --coverage-clover=./tests/coverage/xml/index.xml
39+
40+
- name: Run codacy-coverage-reporter
41+
uses: codacy/codacy-coverage-reporter-action@v1
42+
with:
43+
project-token: ${{ secrets.CODACY_PROJECT_TOKEN }}
44+
coverage-reports: tests/coverage/xml/

0 commit comments

Comments
 (0)