Update the compatibility matrix #113
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: Test | |
on: | |
pull_request: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
permissions: | |
contents: read | |
checks: write | |
pull-requests: write | |
jobs: | |
lint-and-test: | |
name: "Lint and Test (Python ${{ matrix.python }})" | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python: [ "3.11", "3.12" ] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: extractions/setup-just@v2 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python }} | |
- name: Build Rust module | |
uses: PyO3/maturin-action@v1 | |
with: | |
args: --out dist --interpreter python${{ matrix.python }} | |
sccache: 'true' | |
container: off | |
- run: pip install -r requirements.txt | |
- run: pip install dist/* | |
- name: Verify | |
run: just verify |