Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 5 additions & 8 deletions .github/workflows/pythonapp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,13 @@ on:

jobs:
test:
runs-on: ubuntu-latest
name: Test on Python ${{ matrix.python-version }} and ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
max-parallel: 4
matrix:
python-version: [3.8, 3.7, 3.6, pypy3]
os: [ubuntu-latest, windows-latest, macOS-latest]

steps:
- uses: actions/checkout@v1
- name: 'Set up Python ${{ matrix.python-version }}'
Expand All @@ -21,24 +23,20 @@ jobs:

- name: 'Install package'
run: |
make install-poetry
source $HOME/.poetry/env
pip3 install poetry
make install
pip3 install tox-gh-actions

- name: 'List installed packages'
run: |
source $HOME/.poetry/env
poetry run pip freeze

- name: 'List all tox test environments'
run: |
source $HOME/.poetry/env
make tox-listenvs

- name: 'Run pytest with tox'
run: |
source $HOME/.poetry/env
make tox

- name: 'Upload coverage report'
Expand All @@ -48,5 +46,4 @@ jobs:
- name: 'Run linters'
if: matrix.python-version == '3.8'
run: |
source $HOME/.poetry/env
make lint