Skip to content

Commit

Permalink
Merge pull request #2936 from kelsos/ci-cache
Browse files Browse the repository at this point in the history
Adds caching for the global db for e2e tests
  • Loading branch information
LefterisJP committed May 20, 2021
2 parents 2a73efd + aba957c commit 2be28e0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/rotki_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ jobs:
path: |
~/rotki-e2e/price_history
~/rotki-e2e/icons
~/rotki-e2e/assets
~/rotki-e2e/global_data
key: ${{ runner.os }}-e2e-cache-${{ hashFiles('**/app/package-lock.json') }}
restore-keys: |
${{ runner.os }}-e2e-cache-
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/rotki_nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ jobs:
path: |
~/rotki-e2e/price_history
~/rotki-e2e/icons
~/rotki-e2e/assets
~/rotki-e2e/global_data
key: ${{ runner.os }}-e2e-cache-${{ hashFiles('**/app/package-lock.json') }}
restore-keys: |
${{ runner.os }}-e2e-cache-
Expand Down
2 changes: 1 addition & 1 deletion frontend/app/start-backend.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ if (!fs.existsSync(tempPath)) {
} else {
const contents = fs.readdirSync(tempPath);
for (const name of contents) {
if (['assets', 'icons', 'price_history'].includes(name)) {
if (['icons', 'price_history', 'global_data'].includes(name)) {
continue;
}

Expand Down

0 comments on commit 2be28e0

Please sign in to comment.