Debian Codegraph @

.github/workflows/test.yml

raw
1 name: Test
2
3 on: [push, pull_request]
4
5 jobs:
6 test:
7 runs-on: ubuntu-latest
8 strategy:
9 matrix:
10 python-version: [ "2.7", "3.6", "3.7", "3.8", "3.9", "3.10" ]
11 steps:
12 - uses: actions/checkout@v2
13
14 - name: Setup Python ${{ matrix.python-version }}
15 uses: actions/setup-python@v2
16 with:
17 python-version: ${{ matrix.python-version }}
18
19 - name: Install dependencies
20 run: |
21 python -m pip install --upgrade pip wheel
22 pip install . pytest
23
24 - name: Run tests
25 run: pytest