forked from pennersr/django-allauth
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.woodpecker.yaml
More file actions
51 lines (46 loc) · 1.11 KB
/
.woodpecker.yaml
File metadata and controls
51 lines (46 loc) · 1.11 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
when:
- event: pull_request
- event: [push, tag, manual]
branch: main
steps:
test:
image: python:${PYTHON_VERSION}-${DEBIAN_VERSION}
commands:
- apt-get update
- apt-get install -y --no-install-recommends gettext make
- pip install nox
- nox -x --session "test-${PYTHON_VERSION}"
docs:
image: python:${PYTHON_VERSION}-${DEBIAN_VERSION}
commands:
- pip install nox
- nox -x --session "docs"
depends_on: []
when:
- matrix:
PYTHON_VERSION: 3.14
lint:
image: python:${PYTHON_VERSION}-${DEBIAN_VERSION}
commands:
- pip install nox
- nox -x -t lint
depends_on: []
when:
- matrix:
PYTHON_VERSION: 3.14
standardjs:
image: node:22-${DEBIAN_VERSION}
commands:
- make ci-install-standardjs
- make standardjs
depends_on: []
when:
- matrix:
PYTHON_VERSION: 3.14
matrix:
include:
# To cut down on CI pipeline duration, test oldest/latest Python only.
- PYTHON_VERSION: 3.8
DEBIAN_VERSION: bookworm
- PYTHON_VERSION: 3.14
DEBIAN_VERSION: trixie