Merge pull request #61 from martindurant/rename_to_akimbo #212
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |