Skip to content

Commit

Permalink
Add codeception to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
jskowronski39 committed Jan 13, 2024
1 parent 45b8f79 commit ac6d327
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/workflows/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ jobs:
- name: Run lint
run: |
docker compose exec -T php bin/console cache:warmup --env=dev
make test-setup
make cs env=test ci=true
- name: Run tests
Expand Down
7 changes: 5 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,14 @@ behat-generate-snippet:
setup:
@make db

test-setup:
docker-compose exec -T php php vendor/bin/codecept clean
docker-compose exec -T php php vendor/bin/codecept build

test:
@make db env=test
@make test-setup
@make test-ci

test-ci:
docker-compose exec -T php php vendor/bin/codecept clean
docker-compose exec -T php php vendor/bin/codecept build
docker-compose exec -T php php vendor/bin/codecept run unit,integration,functional --fail-fast

0 comments on commit ac6d327

Please sign in to comment.