- added support for running tests in isolation, and made that the def… #57
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: tests | |
on: | |
push: | |
paths: | |
- src/** | |
- test/** | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
run-tests: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ ubuntu-latest, macos-latest ] | |
python: [ '3.10', '3.11', '3.12' ] | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python }} | |
- name: install dependencies | |
run: | | |
python3 -m pip install pytest pytest-asyncio hypothesis | |
python3 -m pip install . | |
- name: run tests | |
run: | | |
python3 -m pytest |