Skip to content

chore(deps): update pyo3 requirement from 0.22.2 to 0.23.2 (#35) #122

chore(deps): update pyo3 requirement from 0.22.2 to 0.23.2 (#35)

chore(deps): update pyo3 requirement from 0.22.2 to 0.23.2 (#35) #122

Workflow file for this run

name: Python CI
on:
push:
branches:
- main
pull_request:
branches:
- main
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build-and-test:
name: Build and test
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-13, macos-14]
python-version: ['3.9', '3.13']
include:
- os: windows-latest
python-version: ""
defaults:
run:
shell: ${{ matrix.os == 'windows-latest' && 'msys2 {0}' || 'bash' }}
steps:
- name: Set up MSYS2
if: runner.os == 'Windows'
uses: msys2/setup-msys2@v2
with:
msystem: MINGW64
update: true
install: >-
mingw-w64-x86_64-python
mingw-w64-x86_64-python-pip
mingw-w64-x86_64-python-numpy
mingw-w64-x86_64-python-pytest
mingw-w64-x86_64-python-maturin
mingw-w64-x86_64-rust
mingw-w64-x86_64-gcc
mingw-w64-x86_64-cmake
diffutils
m4
make
git
curl
- name: Check out repo
uses: actions/checkout@v4
- name: Set up Python
if: runner.os != 'Windows'
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Pip install the package
run: python -m pip install .[tests]
- name: Run pytest
run: |
pytest -vv
check-python:
name: Check Python
if: always()
needs: [build-and-test]
runs-on: ubuntu-latest
timeout-minutes: 2
steps:
- name: Decide whether the needed jobs succeeded or failed
uses: re-actors/alls-green@release/v1
with:
jobs: ${{ toJSON(needs) }}