Skip to content

Commit

Permalink
🚧 Update gh workflow (cache step)
Browse files Browse the repository at this point in the history
  • Loading branch information
yessica-rd committed Sep 29, 2023
1 parent 2d03689 commit 692320a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/build-and-run-pytest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ jobs:
key: ${{ runner.os }}-buildx-${{ github.sha }}
restore-keys: |
${{ runner.os }}-buildx-
condition: always

- name: Build
uses: docker/build-push-action@v4
Expand All @@ -39,7 +40,8 @@ jobs:
cache-to: type=local,dest=/tmp/.buildx-cache-new,mode=max

- name: Run pytests
run: docker run --rm -v $PWD:/home/sage/tii-claasp --pull claasp-lib make remote-pytest
# run: docker run --rm -v $PWD:/home/sage/tii-claasp --pull claasp-lib make remote-pytest
run: docker run --rm -v $PWD:/home/sage/tii-claasp claasp-lib:claasp-lib make remote-pytest

# - name: Move cache
# if: ${{ always() }}
Expand Down

0 comments on commit 692320a

Please sign in to comment.