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:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user