Debian Codegraph @

.github/workflows/test.yml

raw symbols SCIP
1 name: Test
2
3 on:
4 workflow_dispatch:
5 pull_request:
6 push:
7 branches: [master]
8
9 jobs:
10 test:
11 runs-on: ${{ matrix.os }}
12
13 strategy:
14 matrix:
15 os: [ubuntu-latest, windows-latest, macos-latest]
16 python: ["3.7", "3.8", "3.9", "3.10"]
17
18 steps:
19 - uses: actions/checkout@v2
20
21 - name: Setup Python ${{ matrix.python-version }}
22 uses: actions/setup-python@v2
23 with:
24 python-version: ${{ matrix.python }}
25
26 - name: Install Tox
27 run: pip install tox
28
29 - name: Lint
30 run: tox -e linting
31
32 - name: Test
33 run: tox -e py
34
35 - name: Upload test coverage
36 uses: codecov/codecov-action@v2
37 with:
38 token: ${{ secrets.CODECOV_TOKEN }}