Debian Codegraph @

.github/workflows/ci.yml

raw symbols SCIP
1 name: ci
2
3 on:
4 - push
5 - pull_request
6
7 jobs:
8 lint:
9 runs-on: ubuntu-latest
10 steps:
11 - uses: actions/checkout@v4
12 - uses: actions/setup-python@v4
13 - run: pip install black ruff
14 - run: |
15 ruff check src
16 black --check src
17 build:
18 runs-on: ${{ matrix.platform }}
19 continue-on-error: true
20 strategy:
21 matrix:
22 platform: [ubuntu-latest, macos-latest, windows-latest]
23 python-version: [3.7, 3.8, 3.9, '3.10', '3.11', '3.12']
24
25 steps:
26 - uses: actions/checkout@v4
27
28 - name: Set up Python ${{ matrix.python-version }}
29 uses: actions/setup-python@v4
30 with:
31 python-version: ${{ matrix.python-version }}
32
33 - name: Install dependencies
34 run: |
35 python -m pip install --upgrade pip
36 pip install pipenv tox tox-gh-actions
37
38 - name: Test with tox
39 run: tox
40 env:
41 PLATFORM: ${{ matrix.platform }}