Debian Codegraph @

.github/workflows/testing.yml

raw
1 name: Testing
2
3 on: [pull_request, push]
4
5 jobs:
6 build:
7 runs-on: ubuntu-latest
8 if: "!contains(github.event.head_commit.message, '[skip tests]')"
9 strategy:
10 max-parallel: 3
11 matrix:
12 python-version: [3.7, 3.8, 3.9]
13
14 steps:
15 - uses: actions/checkout@v1
16 - name: Set up Python ${{ matrix.python-version }}
17 uses: actions/setup-python@v2
18 with:
19 python-version: ${{ matrix.python-version }}
20 - name: Install dependencies
21 run: |
22 python -m pip install --upgrade pip
23 pip install tox tox-gh-actions poetry
24 - name: Test with tox
25 run: tox