.github/workflows/check.yml
raw| 1 | name: Check |
| 2 | |
| 3 | on: |
| 4 | - push |
| 5 | - pull_request |
| 6 | |
| 7 | jobs: |
| 8 | build: |
| 9 | name: ${{ matrix.tox-environment }} |
| 10 | runs-on: ubuntu-latest |
| 11 | |
| 12 | strategy: |
| 13 | fail-fast: false |
| 14 | matrix: |
| 15 | tox-environment: |
| 16 | - lint |
| 17 | |
| 18 | env: |
| 19 | TOXENV: ${{ matrix.tox-environment }} |
| 20 | |
| 21 | steps: |
| 22 | - uses: actions/checkout@v2 |
| 23 | |
| 24 | - name: Set up Python |
| 25 | uses: actions/setup-python@v2 |
| 26 | |
| 27 | - name: Install dependencies |
| 28 | run: python -m pip install tox |
| 29 | |
| 30 | - name: Run |
| 31 | run: tox |