Debian Codegraph @

.github/workflows/tests.yaml

raw
1 name: Tests
2
3 on:
4 push:
5 branches: [ master ]
6 pull_request:
7 branches: [ master ]
8
9 # Allows you to run this workflow manually from the Actions tab
10 workflow_dispatch:
11
12 jobs:
13 run-tests:
14 strategy:
15 matrix:
16 os: [ubuntu-22.04, ubuntu-24.04, macos-14, macos-15, windows-2022, windows-2025]
17 python-version: ["3.10", "3.11", "3.12", "3.13"]
18
19 runs-on: ${{ matrix.os }}
20 steps:
21 - uses: actions/checkout@v4
22
23 - name: Set up Python ${{ matrix.python-version }} on ${{ matrix.os }}
24 uses: actions/setup-python@v4
25 with:
26 python-version: ${{ matrix.python-version }}
27 - name: Install dependencies
28 run: |
29 pip install -U -r requirements.txt
30 - name: Run tests
31 run: |
32 pytest