Skip to content

Commit

Permalink
test the source distribution
Browse files Browse the repository at this point in the history
  • Loading branch information
mcflugen committed Oct 15, 2024
1 parent 2307f50 commit 954f2af
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ jobs:
name: build-sdist
path: ${{ github.workspace }}/dist/*.tar.gz

build-and-test:
needs: check-tag
test:
needs: build-sdist
runs-on: ${{ matrix.os }}

defaults:
Expand All @@ -65,10 +65,16 @@ jobs:
with:
python-version: ${{ matrix.python-version }}

- uses: actions/download-artifact@v4
with:
pattern: "build-*"
merge-multiple: true
path: ${{ github.workspace }}/dist

- name: Test
run: |
pip install nox
nox --non-interactive --error-on-missing-interpreter -s test test-cli
nox --non-interactive --error-on-missing-interpreter -s test test-cli -- dist/*.tar.gz
- name: Coveralls
if: matrix.os == 'ubuntu-latest'
Expand All @@ -80,7 +86,7 @@ jobs:
debug: true

coveralls_finish:
needs: build-and-test
needs: test
runs-on: ubuntu-latest
steps:
- name: Coveralls Finished
Expand Down

0 comments on commit 954f2af

Please sign in to comment.