Skip to content

update for latest version #113

update for latest version

update for latest version #113

Workflow file for this run

# This file is autogenerated by maturin v1.4.0
# To update, run
#
# maturin generate-ci github --pytest
#
name: CI
on:
push:
branches:
- main
- master
tags:
- '*'
pull_request:
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: read
# Make sure CI fails on all warnings, including Clippy lints
env:
RUSTFLAGS: "-Dwarnings"
jobs:
linux_tests:
runs-on: ubuntu-latest
strategy:
matrix:
target: [x86_64]
python-version: ["3.9", "3.10", "3.11"]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Set up Rust
run: rustup show
- uses: mozilla-actions/[email protected]
- run: curl -LsSf https://astral.sh/uv/install.sh | sh
- run: uv venv --seed
- run: . .venv/bin/activate && uv pip install -r requirements.txt -r requirements-dev.txt
- run: make pre-commit
- run: make install
- run: make test