Debian Codegraph @

.github/workflows/ci.yml

raw symbols SCIP
1 name: Test
2 on:
3 pull_request:
4 push:
5 branches: [master, develop]
6 workflow_dispatch:
7 concurrency:
8 group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
9 cancel-in-progress: true
10 jobs:
11 build-test:
12 runs-on: ${{ matrix.os }}
13 strategy:
14 fail-fast: false
15 matrix:
16 # Also adapt tox.ini on change
17 python-version: ['3.9', 'pypy3.11', '3.x']
18 # macOS on ARM, Ubuntu on x86, Windows on X86
19 os: [macos-latest, ubuntu-latest, windows-latest]
20 steps:
21 - name: Checkout
22 uses: actions/checkout@v4
23 with:
24 fetch-depth: 0
25 - name: Set up Python ${{ matrix.python-version }}
26 uses: actions/setup-python@v5
27 with:
28 python-version: ${{ matrix.python-version }}
29 cache: 'pip'
30 cache-dependency-path: 'pyproject.toml'
31 - name: Install dependencies
32 run: |
33 python -m pip install --upgrade pip
34 pip install --editable ".[dev]"
35 - name: Test with tox
36 run: tox -e py