Skip to content

Commit

Permalink
Merge pull request #146 from ngoldbaum/skip-sdist-test
Browse files Browse the repository at this point in the history
skip sdist tests except on full runs
  • Loading branch information
timkpaine authored Mar 18, 2024
2 parents e2b41aa + f06f75b commit 47c1c50
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -514,6 +514,8 @@ jobs:

runs-on: ${{ matrix.os }}

if: ${{ needs.initialize.outputs.FULL_RUN == 'true' }}

steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down Expand Up @@ -542,7 +544,6 @@ jobs:

# Install sdist
- name: Install sdist
if: ${{ needs.initialize.outputs.FULL_RUN == 'true' }}
run: python -m pip install -U -vvv dist/csp*.tar.gz --target .
env:
CCACHE_DIR: /home/runner/work/csp/csp/.ccache
Expand All @@ -551,7 +552,6 @@ jobs:

# Test sdist
- name: Run tests against from-scratch sdist build
if: ${{ needs.initialize.outputs.FULL_RUN == 'true' }}
run: make test
env:
CSP_TEST_SKIP_EXAMPLES: "1"
Expand Down

0 comments on commit 47c1c50

Please sign in to comment.