Move maturin test coverage into CI (#3714)

This test can take over 60s to run, which is too much for a unit test.
We'll run it in a separate CI job to retain coverage.
This commit is contained in:
Zanie Blue
2024-05-21 15:17:48 -04:00
committed by GitHub
parent cf997080b0
commit dfd6ccf0f9
5 changed files with 60 additions and 42 deletions
+25
View File
@@ -436,6 +436,31 @@ jobs:
./uv venv
./${{ matrix.command }}
integration-test-maturin:
needs: build-binary-linux
name: "integration test | maturin"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
- name: "Download binary"
uses: actions/download-artifact@v4
with:
name: uv-linux-${{ github.sha }}
- name: "Prepare binary"
run: chmod +x ./uv
- name: "Compile"
run: |
echo '-e ${PROJECT_ROOT}/scripts/packages/maturin_editable' | ./uv pip compile - -o requirements.txt
- name: "Sync"
run: |
./uv venv
./uv pip sync requirements.txt
cache-test-ubuntu:
needs: build-binary-linux
name: "check cache | ubuntu"