aws-advanced-jdbc-wrapper.git / summary / log / commit / refs
commit 7d71aaa0befc29b687bc97f3e4c8707aeeb76bc2
Author: Karen <64801825+karenc-bq@users.noreply.github.com>
Commit: Karen Chen <karenc@bitquilltech.com>
Date: Sat Sep 24 01:55:23 2022 +0000
chore: make sure cleanup steps always run for integration tests (#162)
Ensure clusters are deleted even if integration tests fail
.github/workflows/run-integration-tests.yml | 2 ++
1 file changed, 2 insertions(+)
diff --git a/.github/workflows/run-integration-tests.yml b/.github/workflows/run-integration-tests.yml
index a9c213b2..927d5cae 100644
--- a/.github/workflows/run-integration-tests.yml
+++ b/.github/workflows/run-integration-tests.yml
@@ -170,6 +170,7 @@ jobs:
clean-up-mysql:
name: 'Clean up AWS Aurora MySQL clusters'
runs-on: ubuntu-latest
+ if: always()
needs: [ aurora-mysql-integration-tests ]
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
@@ -195,6 +196,7 @@ jobs:
clean-up-postgres:
name: 'Clean up AWS Aurora Postgres clusters'
runs-on: ubuntu-latest
+ if: always()
needs: [ aurora-postgres-integration-tests ]
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
[parent: 72a66c0e424a]