diff options
-rw-r--r-- | .github/workflows/pythonapp.yml | 9 | ||||
-rw-r--r-- | tox.ini | 8 |
2 files changed, 14 insertions, 3 deletions
diff --git a/.github/workflows/pythonapp.yml b/.github/workflows/pythonapp.yml index 6a2c6ee..75901e0 100644 --- a/.github/workflows/pythonapp.yml +++ b/.github/workflows/pythonapp.yml @@ -24,6 +24,7 @@ jobs: make install-poetry source $HOME/.poetry/env make install + pip3 install tox-gh-actions - name: 'List installed packages' run: | @@ -38,7 +39,10 @@ jobs: - name: 'Run tests with Python v${{ matrix.python-version }}' run: | source $HOME/.poetry/env - make pytest + make tox + + - name: 'Upload coverage report' + run: bash <(curl -s https://codecov.io/bash) - name: 'Run linters' if: matrix.python-version == '3.8' @@ -46,5 +50,4 @@ jobs: source $HOME/.poetry/env make lint - - name: 'Upload coverage report' - run: bash <(curl -s https://codecov.io/bash) + @@ -3,6 +3,14 @@ isolated_build = True envlist = py38,py37,py36 skip_missing_interpreters = True +[gh-actions] +# https://github.com/ymyzk/tox-gh-actions +python = + 3.6: py36 + 3.7: py37 + 3.8: py38 + pypy3: pypy3 + [testenv] whitelist_externals = make commands = |