Debian Codegraph @

.github/workflows/main-ci.yml

raw
1 # This workflow will install Python dependencies, run tests and lint with a single version of Python
2 # For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
3
4 name: Python application
5
6 on:
7 push:
8 branches: [ master ]
9 pull_request:
10 branches: [ master ]
11
12 # allow manual trigger
13 workflow_dispatch:
14
15 jobs:
16 build:
17
18 runs-on: ubuntu-latest
19 strategy:
20 matrix:
21 python-version: ['3.10', '3.11', '3.12', '3.13', '3.14']
22
23 steps:
24 - name: Checkout source
25 uses: actions/checkout@v4
26 - name: Set up Python
27 uses: actions/setup-python@v5
28 with:
29 python-version: ${{ matrix.python-version }}
30 - name: Install dependencies
31 run: |
32 python -m pip install --upgrade pip
33 pip install pytest msgpack
34 pip install -r requirements.txt
35 - name: build and install
36 run:
37 pip install .
38 - name: Test with pytest
39 run: |
40 pytest -v tests