Skip to content

Commit 376cc85

Browse files
committed
update workflow
1 parent 17b7fb7 commit 376cc85

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/check-for-linter.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
run: make lint
3131

3232
- name: Run unit tests
33-
run: XDEBUG_MODE=coverage vendor/bin/phpunit --coverage-clover=coverage.xml tests
33+
run: make test-sonar
3434

3535
- name: SonarQube Scan
3636
uses: SonarSource/sonarqube-scan-action@v5

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ test:
1111
XDEBUG_MODE=coverage composer exec --verbose vendor/bin/phpunit tests -- --coverage-text
1212

1313
test-sonar:
14-
composer exec vendor/bin/phpunit tests -- --coverage-clover coverage.xml
14+
XDEBUG_MODE=coverage vendor/bin/phpunit --coverage-clover=coverage.xml tests
1515

1616
test-dev:
1717
XDEBUG_MODE=coverage composer exec --verbose vendor/bin/phpunit tests -- --coverage-html ./reports

0 commit comments

Comments
 (0)