Skip to content

Commit

Permalink
fix paths
Browse files Browse the repository at this point in the history
  • Loading branch information
ss2165 committed May 24, 2024
1 parent 60407bb commit 0bfdb32
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/ci-py.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ on:

env:
SCCACHE_GHA_ENABLED: "true"
HUGR_BIN: ${{ github.workspace }}/target/release/hugr
HUGR_BIN_DIR: ${{ github.workspace }}/target/release

jobs:
# Check if changes were made to the relevant files.
Expand Down Expand Up @@ -91,7 +91,7 @@ jobs:
uses: actions/upload-artifact@v4
with:
name: hugr_binary
path: ${{env.HUGR_BIN}}
path: ${{env.HUGR_BIN_DIR}}/hugr
test:
needs: [changes, check, build_binary]
if: ${{ needs.changes.outputs.python == 'true' }}
Expand All @@ -117,11 +117,11 @@ jobs:
uses: actions/download-artifact@v4
with:
name: hugr_binary
path: ${{env.HUGR_BIN}}
path: ${{env.HUGR_BIN_DIR}}

- name: Run tests
run: |
chmod +x $HUGR_BIN
chmod +x $HUGR_BIN/hugr
poetry run pytest
# Ensure that the serialization schema is up to date
Expand Down Expand Up @@ -203,13 +203,13 @@ jobs:
uses: actions/download-artifact@v4
with:
name: hugr_binary
path: ${{env.HUGR_BIN}}
path: ${{env.HUGR_BIN_DIR}}



- name: Run python tests with coverage instrumentation
run: |
chmod +x $HUGR_BIN
chmod +x $HUGR_BIN/hugr
poetry run pytest --cov=./ --cov-report=xml
- name: Upload python coverage to codecov.io
Expand Down

0 comments on commit 0bfdb32

Please sign in to comment.