Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
edenhaus committed Jan 7, 2025
1 parent 706abf9 commit 77bda96
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ jobs:
args: --release --out dist -i ${{ matrix.python-version}}
manylinux: ${{ matrix.config.manylinux }}
before-script-linux: ${{ matrix.config.before-script }}
sccache: "true"
- name: ⬆️ Upload wheel
uses: actions/upload-artifact@v4
with:
Expand Down Expand Up @@ -106,7 +107,7 @@ jobs:
run: |
set -e
uv pip install --force-reinstall dist/*
pytest
pytest tests --cov=./ --cov-report=xml --junitxml=junit.xml -o junit_family=legacy
- name: pytest
if: ${{ startsWith(matrix.config.manylinux, 'musllinux') && matrix.config.platform == 'x86_64' }}
uses: addnab/docker-run-action@v3
Expand All @@ -118,7 +119,7 @@ jobs:
curl -LsSf https://astral.sh/uv/install.sh | sh
uv sync --locked --only-dev
uv pip install --force-reinstall dist/*
pytest
pytest tests --cov=./ --cov-report=xml --junitxml=junit.xml -o junit_family=legacy
- name: pytest
if: ${{ startsWith(matrix.config.manylinux, 'musllinux') && matrix.config.platform != 'x86_64' }}
uses: uraimo/run-on-arch-action@v2
Expand All @@ -132,7 +133,7 @@ jobs:
run: |
set -e
uv pip install --force-reinstall dist/*
pytest
pytest tests --cov=./ --cov-report=xml --junitxml=junit.xml -o junit_family=legacy
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v5
Expand Down

0 comments on commit 77bda96

Please sign in to comment.