Skip to content

Commit

Permalink
drop docker exec, use docker compose exec with service name
Browse files Browse the repository at this point in the history
  • Loading branch information
ArtemIsmagilov committed Jul 6, 2024
1 parent 333a2d7 commit 063df2c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/github-actions-demo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,9 @@ jobs:
pytest -sv
# flush all data from cache
docker exec -it redis-local sh -c "redis-cli FLUSHALL"
cd movie_service/
docker compose exec redis-local sh -c "redis-cli FLUSHALL"
cd ../
# test coverage
coverage run -m pytest
Expand Down

0 comments on commit 063df2c

Please sign in to comment.