From 06fe8196ffc542e6cdb14fb46445939dd1c18f8c Mon Sep 17 00:00:00 2001 From: Hubert Filar Date: Wed, 11 Sep 2024 16:19:56 +0200 Subject: [PATCH] OP-289: Add running unit tests to build --- .github/workflows/build.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 41ac7541..0d6ee0f5 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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