Skip to content

chore(deps): update pypa/gh-action-pypi-publish digest to 81e9d93 #69

chore(deps): update pypa/gh-action-pypi-publish digest to 81e9d93

chore(deps): update pypa/gh-action-pypi-publish digest to 81e9d93 #69

Workflow file for this run

# This workflow will install Python dependencies and run tests with a variety of Python versions
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python
name: Test
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: true
matrix:
os: [ubuntu-latest, windows-latest]
python-version: ["3.9", "3.10", "3.11", "pypy-3.9"]
pytest-version: ["5", "6", "7"]
cython-version: ["0.29"]
exclude:
- python-version: "3.10"
pytest-version: "5"
- python-version: "3.11"
pytest-version: "5"
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }} [pytest ${{ matrix.pytest-version }}, cython ${{ matrix.cython-version }}]
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install pytest==${{ matrix.pytest-version }}.*
python -m pip install cython==${{ matrix.cython-version }}.*
python -m pip install -e .
- name: Test with pytest
run: |
pytest -vv tests src