Debian Codegraph @

.github/workflows/ci.yml

raw
1 name: ci
2 on:
3 push:
4 branches:
5 - main
6 pull_request:
7 branches:
8 - main
9
10 concurrency:
11 group: ci-${{github.ref}}-${{github.event.pull_request.number || github.run_number}}
12 cancel-in-progress: true
13
14 jobs:
15 test:
16
17 runs-on: ${{ matrix.os || 'ubuntu-latest' }}
18 strategy:
19 fail-fast: false
20 matrix:
21 python:
22 - "3.8"
23 - "3.12"
24 - "3.x"
25 include:
26 - os: ubuntu-22.04
27 python: "3.7"
28
29 steps:
30 - uses: actions/checkout@v4
31 - name: setup
32 uses: actions/setup-python@v5
33 with:
34 python-version: ${{ matrix.python }}
35 - name: install
36 run: |
37 python -m pip install --upgrade pip
38 pip install -e .
39 - name: test
40 run: |
41 pip install ."[dev]"
42 pytest