Skip to content

Enable github workflows for the CI #1

Enable github workflows for the CI

Enable github workflows for the CI #1

Workflow file for this run

name: Python tests
on:
workflow_dispatch:
push:
branches: [main]
pull_request:
branches: [main]
types:
- opened
- reopened
- synchronize
- ready_for_review
jobs:
Test:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: [3.12]
include:
- os: ubuntu-latest
python-version: "3.11"
- os: ubuntu-latest
python-version: "3.10"
- os: ubuntu-latest
python-version: 3.9
runs-on: "${{ matrix.os }}"
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- uses: dtolnay/rust-toolchain@master
with:

Check failure on line 39 in .github/workflows/python.yml

View workflow run for this annotation

GitHub Actions / Python tests

Invalid workflow file

The workflow is not valid. .github/workflows/python.yml (Line: 39, Col: 14): Unexpected value '' .github/workflows/python.yml (Line: 40, Col: 9): Unexpected value 'toolchain'

Check failure on line 39 in .github/workflows/python.yml

View workflow run for this annotation

GitHub Actions / Python tests

Invalid workflow file

The workflow is not valid. .github/workflows/python.yml (Line: 39, Col: 14): Unexpected value '' .github/workflows/python.yml (Line: 40, Col: 9): Unexpected value 'toolchain'
toolchain: stable
- uses: Swatinem/rust-cache@v2
- run: python3 -m pip install nox
- name: Run nox for ${{ matrix.python-version }}
working-directory: ./python
run: nox -s test-${{ matrix.python-version }}