Skip to content

Commit

Permalink
OP-289: Add running unit tests to build
Browse files Browse the repository at this point in the history
  • Loading branch information
hmfilar committed Sep 11, 2024
1 parent bc65f3a commit 480e7b8
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,11 @@ jobs:
- name: Validate database schema
run: (cd tests/Application && bin/console doctrine:schema:validate)

- name: Run PHPUnit
run: vendor/bin/phpunit --colors=always
- name: Run API tests
run: vendor/bin/phpunit tests/Api --colors=always

- name: Run PHPUnit tests
run: vendor/bin/phpunit tests/Unit --colors=always

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

0 comments on commit 480e7b8

Please sign in to comment.