Debian Codegraph @

.woodpecker.yaml

raw
1 when:
2 - event: pull_request
3 - event: [push, tag, manual]
4 branch: main
5
6 steps:
7 test:
8 image: python:${PYTHON_VERSION}-${DEBIAN_VERSION}
9 commands:
10 - apt-get update
11 - apt-get install -y --no-install-recommends gettext make
12 - pip install nox
13 - nox -x --session "test-${PYTHON_VERSION}"
14
15 docs:
16 image: python:${PYTHON_VERSION}-${DEBIAN_VERSION}
17 commands:
18 - pip install nox
19 - nox -x --session "docs"
20 depends_on: []
21 when:
22 - matrix:
23 PYTHON_VERSION: 3.14
24
25 lint:
26 image: python:${PYTHON_VERSION}-${DEBIAN_VERSION}
27 commands:
28 - pip install nox
29 - nox -x -t lint
30 depends_on: []
31 when:
32 - matrix:
33 PYTHON_VERSION: 3.14
34
35 standardjs:
36 image: node:22-${DEBIAN_VERSION}
37 commands:
38 - make ci-install-standardjs
39 - make standardjs
40 depends_on: []
41 when:
42 - matrix:
43 PYTHON_VERSION: 3.14
44
45 matrix:
46 include:
47 # To cut down on CI pipeline duration, test oldest/latest Python only.
48 - PYTHON_VERSION: 3.10
49 DEBIAN_VERSION: trixie
50 - PYTHON_VERSION: 3.14
51 DEBIAN_VERSION: trixie