Skip to content

Commit

Permalink
Update workflows with wallet db cache
Browse files Browse the repository at this point in the history
  • Loading branch information
Piotr Stachyra committed Mar 15, 2022
1 parent 4bc2c8a commit 6477159
Show file tree
Hide file tree
Showing 4 changed files with 39 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/e2e-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,16 @@ jobs:
node-db-docker-${{ env.NETWORK }}-
node-db-Linux-${{ env.NETWORK }}-
- name: 💾 Cache wallet db
id: cache-wallet
uses: actions/cache@v2.1.4
with:
path: test/e2e/state/wallet_db/${{ env.NETWORK }}
key: wallet-db-${{ runner.os }}-${{ env.NETWORK }}-${{ steps.date-time.outputs.value }}
restore-keys: |
wallet-db-${{ runner.os }}-${{ env.NETWORK }}-
wallet-db-Linux-${{ env.NETWORK }}-
- name: 🚀 Start node and wallet
run: |
echo "Wallet: $WALLET"
Expand Down
9 changes: 9 additions & 0 deletions .github/workflows/e2e-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,15 @@ jobs:
restore-keys: |
node-db-${{ runner.os }}-${{ env.NETWORK }}-
- name: 💾 Cache wallet db
id: cache-wallet
uses: actions/cache@v2.1.4
with:
path: test/e2e/state/wallet_db/${{ env.NETWORK }}
key: wallet-db-${{ runner.os }}-${{ env.NETWORK }}-${{ steps.date-time.outputs.value }}
restore-keys: |
wallet-db-${{ runner.os }}-${{ env.NETWORK }}-
- name: ⚙️ Setup (get latest bins and configs and decode fixtures)
run: rake setup[$NETWORK,$PR]

Expand Down
10 changes: 10 additions & 0 deletions .github/workflows/e2e-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,16 @@ jobs:
node-db-${{ runner.os }}-${{ env.NETWORK }}-
node-db-Linux-${{ env.NETWORK }}-
- name: 💾 Cache wallet db
id: cache-wallet
uses: actions/cache@v2.1.4
with:
path: test/e2e/state/wallet_db/${{ env.NETWORK }}
key: wallet-db-${{ runner.os }}-${{ env.NETWORK }}-${{ steps.date-time.outputs.value }}
restore-keys: |
wallet-db-${{ runner.os }}-${{ env.NETWORK }}-
wallet-db-Linux-${{ env.NETWORK }}-
- name: ⚙️ Setup (get latest bins and configs and decode fixtures)
run: rake setup[$NETWORK,$PR]

Expand Down
10 changes: 10 additions & 0 deletions .github/workflows/e2e-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,16 @@ jobs:
node-db-${{ runner.os }}-${{ env.NETWORK }}-
node-db-Linux-${{ env.NETWORK }}-
- name: 💾 Cache wallet db
id: cache-wallet
uses: actions/cache@v2.1.4
with:
path: test/e2e/state/wallet_db/${{ env.NETWORK }}
key: wallet-db-${{ runner.os }}-${{ env.NETWORK }}-${{ steps.date-time.outputs.value }}
restore-keys: |
wallet-db-${{ runner.os }}-${{ env.NETWORK }}-
wallet-db-Linux-${{ env.NETWORK }}-
- name: ⚙️ Setup (get latest bins and configs and decode fixtures)
run: rake setup[%NETWORK%,%PR%]

Expand Down

0 comments on commit 6477159

Please sign in to comment.