Skip to content

Commit

Permalink
try to fix cache in gh actions
Browse files Browse the repository at this point in the history
  • Loading branch information
KennethEnevoldsen committed Oct 10, 2023
1 parent 1636609 commit d230fb0
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,11 @@ jobs:
shell: bash
run: |
# Specifying two sets of "--pytest-args" is required for invoke to parse it as a list
inv test --pytest-args="--durations=0" --pytest-args="--junitxml=pytest.xml --cov-report=term-missing --cov=src/"
# inv test --pytest-args="--durations=0" --pytest-args="--junitxml=pytest.xml --cov-report=term-missing --cov=src/"
export DACY_CACHE_DIR=/tmp/dacy_cache
pytest
- name: Test report on failures
uses: EnricoMi/publish-unit-test-result-action@v2
id: test_report_with_annotations
Expand Down

0 comments on commit d230fb0

Please sign in to comment.