Skip to content

Commit

Permalink
fix: add a clean up step at the end of the build CI
Browse files Browse the repository at this point in the history
Signed-off-by: jiaxiao zhou <[email protected]>
  • Loading branch information
Mossaka committed Jul 30, 2023
1 parent a8ddec4 commit 990ed2e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,7 @@ jobs:
run: make install-k3d
working-directory: ./deployments/k3d
- name: run integration tests
run: make test
run: make test
- name: clean up k3d
if: always()
run: make test/clean
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ unit-tests: build
integration-tests: build
$(PYTHON) tests/setup.py $(TARGET)
cargo test -- --nocapture

.PHONY: tests/clean
test/clean:
$(PYTHON) tests/teardown.py

.PHONY: fmt
Expand Down

0 comments on commit 990ed2e

Please sign in to comment.