Debian Codegraph @

.github/workflows/testing.yml

raw
1 name: tests
2 on: [push, pull_request, workflow_dispatch]
3 jobs:
4 test:
5 runs-on: ubuntu-latest
6 strategy:
7 matrix:
8 python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13', '3.14']
9 steps:
10 - uses: actions/checkout@v4
11 - name: Set up Python ${{ matrix.python-version }}
12 uses: actions/setup-python@v5
13 with:
14 python-version: ${{ matrix.python-version }}
15 - name: Setup Node
16 uses: actions/setup-node@v4
17 with:
18 node-version: 20
19 - name: Install dependencies
20 run: |
21 python -m pip install --upgrade pip
22 pip install -r tests-requirements.txt
23 pip install -r requirements.txt
24 sudo apt-get install shellcheck
25 - name: Run with 1 worker
26 run: |
27 ./tests.sh
28 - name: Upload coverage reports to Codecov
29 uses: codecov/codecov-action@v3
30 with:
31 files: coverage.xml
32 env:
33 CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}