Update requirements. #228
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: Run Python tests | |
on: | |
- pull_request | |
- push | |
jobs: | |
testing: | |
strategy: | |
fail-fast: false | |
matrix: | |
python-version: [3.7, 3.8] | |
os: [ubuntu-18.04, macos-latest, windows-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-python@v2 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install poetry | |
run: pip install poetry | |
- name: Install requirements | |
run: poetry install | |
- name: run unit tests | |
run: poetry run test | |
- name: run doctests | |
run: poetry run doctest |