Merge pull request #31 from guigoruiz1/master #37
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: | |
branches: | |
- master | |
- '*rc' | |
pull_request: | |
branches: | |
- master | |
jobs: | |
tests: | |
name: Python ${{matrix.python-version}} (${{matrix.os}}) | |
runs-on: ${{matrix.os}} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu-20.04, windows-2019, macos-11] | |
python-version: ["3.8", "3.9", "3.10"] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up python ${{matrix.python-version}} | |
uses: actions/setup-python@v2 | |
with: | |
python-version: ${{matrix.python-version}} | |
cache: 'pip' | |
- name: Install package | |
run: pip install -e . | |
- name: Install test dependencies | |
run: pip install hypothesis pytest | |
- name: Run tests | |
run: pytest |