Skip to content

Commit 06fe819

Browse files
committed
OP-289: Add running unit tests to build
1 parent 9a1f73e commit 06fe819

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/build.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,11 @@ jobs:
5757
- name: Validate database schema
5858
run: (cd tests/Application && bin/console doctrine:schema:validate)
5959

60-
- name: Run PHPUnit
61-
run: vendor/bin/phpunit --colors=always
60+
- name: Run API tests
61+
run: vendor/bin/phpunit tests/Api --colors=always
62+
63+
- name: Run PHPUnit tests
64+
run: vendor/bin/phpunit tests/Unit --colors=always
6265

6366
- name: Run Behat
6467
run: vendor/bin/behat --colors --strict -vvv --no-interaction || vendor/bin/behat --colors --strict -vvv --no-interaction --rerun

0 commit comments

Comments
 (0)