fix: correct condition to downweigh track-feature packages #734
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Python bindings CI | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
paths: | |
# When we change pyproject.toml, we want to ensure that the maturin builds still work | |
- test-data/** | |
- crates/** | |
- Cargo.* | |
# When something in the bindings themselves changes | |
- 'py-rattler/**/*' | |
# Or when this workflow changes | |
- '.github/workflows/python-bindings.yml' | |
workflow_dispatch: | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
permissions: | |
contents: read | |
jobs: | |
format_lint_test: | |
name: Format, Lint and Test the Python bindings | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
lfs: true | |
- uses: prefix-dev/[email protected] | |
with: | |
pixi-version: v0.13.0 | |
cache: true | |
manifest-path: py-rattler/pixi.toml | |
- uses: actions-rust-lang/setup-rust-toolchain@v1 | |
with: | |
components: clippy, rustfmt | |
- name: Format and Lint | |
run: | | |
cd py-rattler | |
pixi run lint | |
pixi run fmt-check | |
- name: Run tests | |
run: | | |
cd py-rattler | |
pixi run test |