Skip to content

Commit

Permalink
More unittests
Browse files Browse the repository at this point in the history
  • Loading branch information
4d4ch4u32 committed Jul 10, 2024
1 parent c43e472 commit 6a78261
Show file tree
Hide file tree
Showing 13 changed files with 477 additions and 242 deletions.
File renamed without changes.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-22.04
strategy:
matrix:
check_command: ['lint:composer', 'lint:php', 'phpstan', 'tests:unit', 'tests:integration']
check_command: ['lint:composer', 'lint:php', 'phpstan', 'tests:unit:ci', 'tests:integration']
php_version: ['8.1', '8.2', '8.3']
steps:
- name: Checkout
Expand Down
3 changes: 2 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@
"XDEBUG_MODE=coverage,debug phpunit --testsuite=Unit -d --update-snapshots",
"XDEBUG_MODE=coverage,debug phpunit --testsuite=Integration -d --update-snapshots"
],
"tests:unit": "XDEBUG_MODE=coverage,debug phpunit --testsuite Unit --log-junit=reports/junit-unittests.xml --coverage-text --colors=never --coverage-html=tests/coverage"
"tests:unit": "XDEBUG_MODE=coverage,debug phpunit --testsuite Unit --log-junit=reports/junit-unittests.xml --coverage-html=tests/coverage",
"tests:unit:ci": "XDEBUG_MODE=coverage,debug phpunit --testsuite Unit --log-junit=reports/junit-unittests.xml --coverage-text --colors=never --coverage-html=tests/coverage"
}
}
Loading

0 comments on commit 6a78261

Please sign in to comment.