Skip to content

Merge pull request #65 from martindurant/docs #221

Merge pull request #65 from martindurant/docs

Merge pull request #65 from martindurant/docs #221

Workflow file for this run

name: PyPI Tests
on:
push:
branches: ['main']
paths-ignore: ['**.md', 'docs/**']
pull_request:
paths-ignore: ['**.md', 'docs/**']
workflow_dispatch:
concurrency:
group: 'pypi-tests-${{ github.head_ref || github.run_id }}'
cancel-in-progress: true
jobs:
pytest:
strategy:
fail-fast: false
matrix:
platform: [ubuntu-latest, macos-latest, windows-latest]
python-version: ["3.9", "3.10", "3.11", "3.12"]
runs-on: ${{matrix.platform}}
steps:
- name: Checkout
uses: actions/checkout@v3
- name: setup Python ${{matrix.python-version}}
uses: actions/setup-python@v4
with:
python-version: ${{matrix.python-version}}
- name: install
run: |
pip install pip wheel -U
pip install -q --no-cache-dir .[test]
pip list
- name: test
run: |
python -m pytest -v