Skip to content

Commit

Permalink
Format and remove kill in the Rocky Makefile docker compose entries
Browse files Browse the repository at this point in the history
  • Loading branch information
originalsouth committed Mar 26, 2024
1 parent 4a487c8 commit e61267f
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions rocky/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -35,18 +35,17 @@ test:
python3 manage.py test

testclean:
docker compose -f .ci/docker-compose.yml kill
docker compose -f .ci/docker-compose.yml down --remove-orphans
docker compose -f .ci/docker-compose.yml down --remove-orphans
docker compose -f .ci/docker-compose.yml build

utest: testclean ## Run the unit tests.
docker compose -f .ci/docker-compose.yml run --rm rocky_tests
docker compose -f .ci/docker-compose.yml run --rm rocky_tests

itest: testclean ## Run the integration tests.
docker compose -f .ci/docker-compose.yml run --rm rocky_integration
docker compose -f .ci/docker-compose.yml run --rm rocky_integration

bench: testclean ## Run the report benchmark.
docker compose -f .ci/docker-compose.yml run --rm rocky_integration \
docker compose -f .ci/docker-compose.yml run --rm rocky_integration \
python -m cProfile -o .ci/bench_$$(date +%Y_%m_%d-%H:%M:%S).pstat -m pytest -m slow --no-cov tests/integration

export_migrations:
Expand Down

0 comments on commit e61267f

Please sign in to comment.