Skip to content

Commit

Permalink
Update pdm.lock, add make clean
Browse files Browse the repository at this point in the history
  • Loading branch information
GianlucaFicarelli committed Jun 27, 2024
1 parent c52e584 commit 996a762
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,5 @@ jobs:
- name: Cleanup
if: ${{ always() }}
run: |
docker compose down --remove-orphans --volumes --rmi all
make clean
docker system prune --force --volumes
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,10 @@ kill: export COMPOSE_PROFILES=run,test
kill: ## Take down the application and remove the volumes
docker compose down --remove-orphans --volumes

clean: export COMPOSE_PROFILES=run,test
clean: ## Take down the application and remove the volumes and the images
docker compose down --remove-orphans --volumes --rmi all

test: build ## Run tests in docker
docker compose run --rm test

Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ lint Run linters
build Build the docker images
run Run the application in docker
kill Take down the application and remove the volumes
clean Take down the application and remove the volumes and the images
test Run tests in docker
test-local Run tests locally
migration Create the alembic migration
Expand Down
10 changes: 5 additions & 5 deletions pdm.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 996a762

Please sign in to comment.