Skip to content

Commit 69932ae

Browse files
committed
update add codecov tests
1 parent a24822c commit 69932ae

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

.github/workflows/workflow.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,9 @@ jobs:
3131
# Run Linter
3232
run: make lint
3333

34+
- name: Run tests
35+
run: make test
36+
3437
- name: SonarQube Scan
3538
uses: SonarSource/sonarqube-scan-action@v5
3639
env:

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@ logs
44
*.swp
55
*.cache
66
build
7+
coverage.xml

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ test:
1515
composer exec --verbose phpunit tests
1616

1717
test-coverage:
18-
XDEBUG_MODE=coverage composer exec --verbose phpunit tests -- --coverage-clover build/logs/clover.xml
18+
XDEBUG_MODE=coverage composer exec --verbose phpunit tests -- --coverage-clover=coverage.xml
1919

2020
test-coverage-text:
2121
XDEBUG_MODE=coverage composer exec --verbose phpunit tests -- --coverage-text

0 commit comments

Comments
 (0)