Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
JaeAeich committed May 23, 2024
1 parent c1a8ba3 commit 1f29cf3
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/code_test_unit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,17 +30,21 @@ jobs:
echo "hash=$(sha256sum requirements.txt | cut -d ' ' -f 1)" >> $GITHUB_ENV
- name: Cache dependencies
uses: actions/cache@v4
id: ctuut
uses: actions/cache@v4
with:
path: |
~/.cache/pypoetry
key: ${{ runner.os }}-test-${{ env.hash }}
restore-keys: |
${{ runner.os }}-test-
- name: Check cache hit
run: |
echo "Cache hit status: ${{ steps.ctuut.outputs.cache-hit }}"
- name: Install test dependencies
if: steps.ctuut.outputs.cache-hit == 'false'
if: steps.ctuut.outputs.cache-hit != 'true'
run: poetry install --only=test --no-interaction

- name: Run tests and generate coverage as test_unit.xml
Expand Down

0 comments on commit 1f29cf3

Please sign in to comment.