Skip to content

Commit

Permalink
Add test-fast and test-separated-fast make commands
Browse files Browse the repository at this point in the history
  • Loading branch information
jirik committed Sep 12, 2023
1 parent d1b8188 commit 2e7bada
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,9 @@ test:
docker compose -f docker-compose.deps.yml -f docker-compose.test.yml up --force-recreate --no-deps -d celery_worker_test
docker compose -f docker-compose.deps.yml -f docker-compose.test.yml run --rm --name layman_test_run_1 layman_test

test-fast:
docker compose -f docker-compose.deps.yml -f docker-compose.test.yml run --rm --no-deps --name layman_test_run_1 layman_test

test-separated:
mkdir -p tmp
if [ "$$(docker images -q layman_dev 2> /dev/null)" = "" ]; then \
Expand All @@ -216,6 +219,9 @@ test-separated:
docker compose -f docker-compose.deps.yml -f docker-compose.test.yml up --force-recreate --no-deps -d celery_worker_test
docker compose -f docker-compose.deps.yml -f docker-compose.test.yml run --rm --name layman_test_run_1 -e "TEST_TYPE=$(test_type)" layman_test bash -c "bash test_separated.sh $(max_fail)"

test-separated-fast:
docker compose -f docker-compose.deps.yml -f docker-compose.test.yml run --rm --no-deps --name layman_test_run_1 -e "TEST_TYPE=$(test_type)" layman_test bash -c "bash test_separated.sh $(max_fail)"

test-static:
mkdir -p tmp
if [ "$$(docker images -q layman_dev 2> /dev/null)" = "" ]; then \
Expand Down

0 comments on commit 2e7bada

Please sign in to comment.