Skip to content

Commit

Permalink
Add wallet caching on failure
Browse files Browse the repository at this point in the history
  • Loading branch information
paolino committed Nov 29, 2023
1 parent c05a99f commit df221e0
Show file tree
Hide file tree
Showing 4 changed files with 35 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/e2e-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,20 @@ jobs:
- name: Stop docker-compose
run: NODE_CONFIG_PATH=`pwd`/state/configs/preprod docker-compose -f docker-compose-test.yml down

- name: 💾 GH Save Cache of node db
if: always()
uses: actions/cache/save@v3
with:
path: test/e2e/state/node_db/preprod
key: node-db-${{ runner.os }}-preprod

- name: 💾 GH Save Cache of wallet db
if: always()
uses: actions/cache/save@v3
with:
path: test/e2e/state/wallet_db/preprod
key: wallet-db3-${{ runner.os }}-preprod

- name: Slack Notification on failure
if: failure()
uses: rtCamp/action-slack-notify@v2
Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/e2e-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,13 @@ jobs:
path: test/e2e/state/node_db/preprod
key: node-db-${{ runner.os }}-preprod

- name: 💾 GH Save Cache of wallet db
if: always()
uses: actions/cache/save@v3
with:
path: test/e2e/state/wallet_db/preprod
key: wallet-db3-${{ runner.os }}-preprod

- name: 📎 Upload state
uses: actions/upload-artifact@v3
if: always()
Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/e2e-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,13 @@ jobs:
path: test/e2e/state/node_db/preprod
key: node-db-${{ runner.os }}-preprod

- name: 💾 GH Save Cache of wallet db
if: always()
uses: actions/cache/save@v3
with:
path: test/e2e/state/wallet_db/preprod
key: wallet-db3-${{ runner.os }}-preprod

- name: 📎 Upload state
uses: actions/upload-artifact@v3
if: always()
Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/e2e-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,13 @@ jobs:
path: test/e2e/state/node_db/preprod
key: node-db-${{ runner.os }}-preprod

- name: 💾 GH Save Cache of wallet db
if: always()
uses: actions/cache/save@v3
with:
path: test/e2e/state/wallet_db/preprod
key: wallet-db3-${{ runner.os }}-preprod

- name: 📎 Upload state
uses: actions/upload-artifact@v3
if: always()
Expand Down

0 comments on commit df221e0

Please sign in to comment.