Debian Codegraph @

.github/workflows/full_tests.yml

raw symbols SCIP
1 name: Tests
2
3 on:
4 push:
5 branches:
6 - main
7 pull_request:
8 branches:
9 - main
10
11 jobs:
12 build_ubuntu:
13 strategy:
14 matrix:
15 os: [ubuntu-latest, macos-latest, windows-latest]
16 name: ${{ matrix.tox.env }} on ${{ matrix.os }}
17 runs-on: ${{ matrix.os }}
18 steps:
19 - uses: actions/checkout@v2
20 - uses: actions/setup-python@v2
21 with:
22 python-version: 3.8
23 - uses: actions/setup-python@v2
24 with:
25 python-version: 3.9
26 - uses: actions/setup-python@v2
27 with:
28 python-version: '3.10'
29 - uses: actions/cache@v2
30 with:
31 path: |
32 .tox
33 key: ${{ matrix.os }}-${{ hashFiles('tox.ini') }}-${{ hashFiles('requirements-dev-github.txt') }}-${{ matrix.tox.python-version }}
34 - name: setup tox
35 run: |
36 python --version
37 python -m pip install --upgrade pip
38 python -m pip install --upgrade tox
39 - name: run ${{ matrix.tox.env }}
40 run: |
41 tox -q -p all