Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -140,14 +140,24 @@
- name: Run Python tests
run: uv run --project ppvm-python --python ${{ matrix.python-version }} --group dev pytest ppvm-python/test/ docs/examples/

# Stable required-check name for the branch ruleset, independent of the matrix.
python-tests-result:
name: Python tests
needs: python-tests
if: always()
runs-on: ubuntu-latest
steps:
- name: Check Python test matrix result
run: test "${{ needs.python-tests.result }}" = "success"

# The pure-Rust crates are platform-agnostic and fully verified on Linux by
# the jobs above. The PyO3 extension is the only OS-sensitive artifact (macOS
# `-undefined dynamic_lookup`, Windows `python3.lib`), so it is the only thing
# rebuilt on other OSes — and building it via maturin compiles the entire
# crate tree on that OS as a side effect, so a cross-OS compile regression
# still surfaces here. `needs:` the Linux test jobs so macOS/Windows runners
# only spin up once Linux is green (no point paying for them otherwise).
extension-cross-platform:

Check warning

Code scanning / CodeQL

Workflow does not contain permissions Medium

Actions job or workflow does not limit the permissions of the GITHUB_TOKEN. Consider setting an explicit permissions block, using the following as a minimal starting point: {}
name: Extension (${{ matrix.os }})
needs: [rust-tests, python-tests]
strategy:
Expand Down
Loading