Skip to content

[pre-commit.ci] pre-commit autoupdate #76

[pre-commit.ci] pre-commit autoupdate

[pre-commit.ci] pre-commit autoupdate #76

Workflow file for this run

name: Python Tests
on:
push:
branches:
- main
pull_request:
workflow_call:
workflow_dispatch:
jobs:
build:
name: Build and Test
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
python-version: ["3.7", "3.11.0-rc.2"]
os: [ubuntu-latest, windows-latest, macos-latest]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install Package
run: |
python -m pip install .[dev]
- name: Build
run: |
maturin build --release
python -m pip install .
- name: Test
run: |
python -m pytest tests