Skip to content

Commit

Permalink
ci: cache local network data for dashmate e2e tests
Browse files Browse the repository at this point in the history
  • Loading branch information
shumkov committed Nov 7, 2023
1 parent 6455cc1 commit eef8b26
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/tests-dashmate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,13 +87,13 @@ jobs:
env:
DASHMATE_E2E_TESTS_SKIP_BUILD: true
DASHMATE_E2E_TESTS_LOCAL_HOMEDIR: /home/ubuntu/.dashmate
if: local-network-data.outputs.cache-hit == 'true'
if: steps.local-network-data.outputs.cache-hit == 'true'

- name: Run tests
run: yarn workspace dashmate run mocha ${{ inputs.test-pattern }}
env:
DASHMATE_E2E_TESTS_SKIP_BUILD: true
if: local-network-data.outputs.cache-hit != 'true'
if: steps.local-network-data.outputs.cache-hit != 'true'

- name: Show Docker logs
if: ${{ failure() }}
Expand Down

0 comments on commit eef8b26

Please sign in to comment.