Skip to content

Commit

Permalink
drop db even if build fails (#251)
Browse files Browse the repository at this point in the history
  • Loading branch information
rymurr authored Sep 6, 2023
1 parent 8a2c01f commit abf0a28
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/cypress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,3 +58,6 @@ jobs:
cypress/screenshots/
- name: remove SQL objects
run: "poetry run python deploy/cypress_teardown.py -p opscenter"
- name: remove SQL objects in failure
if: failure()
run: "poetry run python deploy/cypress_teardown.py -p opscenter"
3 changes: 3 additions & 0 deletions .github/workflows/pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,3 +57,6 @@ jobs:
run: "poetry run python deploy/deploy.py"
- name: run teardown
run: "poetry run python deploy/pr_teardown.py -a ${OPSCENTER_APP}"
- name: run teardown
if: failure()
run: "poetry run python deploy/pr_teardown.py -a ${OPSCENTER_APP}"

0 comments on commit abf0a28

Please sign in to comment.