docs: improve winget docs (#2034) #1487
This file contains hidden or 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-build/**/*" | |
| # 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 Python bindings | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v4 | |
| with: | |
| submodules: recursive | |
| - uses: prefix-dev/[email protected] | |
| with: | |
| manifest-path: py-rattler-build/pixi.toml | |
| - name: Check formatting | |
| working-directory: py-rattler-build | |
| run: | | |
| pixi run fmt-check | |
| - name: Check Cargo.lock | |
| working-directory: py-rattler-build | |
| run: | | |
| pixi run check-cargo-lock | |
| - name: Lint | |
| working-directory: py-rattler-build | |
| run: | | |
| pixi run lint | |
| - name: Run tests | |
| working-directory: py-rattler-build | |
| run: | | |
| pixi run test --color=yes |