Merge pull request #695 from arichadda/master #248
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: tox | |
on: [push, pull_request] | |
jobs: | |
tox: | |
strategy: | |
fail-fast: false | |
max-parallel: 4 | |
matrix: | |
python: [3.7, 3.8, 3.9] | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-python@v2 | |
with: | |
python-version: ${{ matrix.python }} | |
- run: pip install tox | |
- if: matrix.python == '3.7' | |
run: TOXENV=py37 tox | |
- if: matrix.python == '3.8' | |
run: TOXENV=py38 tox | |
- if: matrix.python == '3.9' | |
run: TOXENV=py39 tox |