Skip to content

Commit a832787

Browse files
authored
Add prerelease pipeline (#479)
1 parent 42ae617 commit a832787

File tree

4 files changed

+12
-13
lines changed

4 files changed

+12
-13
lines changed

.github/workflows/ack.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,12 @@
1+
---
12
# See https://github.com/ansible/team-devtools/blob/main/.github/workflows/ack.yml
23
name: ack
3-
4-
concurrency:
5-
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
6-
cancel-in-progress: true
7-
84
on:
5+
merge_group:
96
pull_request_target:
107
types: [opened, labeled, unlabeled, synchronize]
118

129
jobs:
1310
ack:
14-
uses: ansible/team-devtools/.github/workflows/ack.yml@token_revised
11+
uses: ansible/team-devtools/.github/workflows/ack.yml@main
1512
secrets: inherit

.github/workflows/tox.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@ name: tox
33

44
on:
55
merge_group:
6-
branches:
7-
- "main"
86
push:
97
branches:
108
- "main"
@@ -26,8 +24,7 @@ jobs:
2624
max_python: "3.13"
2725
jobs_producing_coverage: 8
2826
other_names: |
29-
devel
27+
devel-pre-py313-milestone:tox -e devel,pre,py313-milestone
3028
docs
3129
lint
3230
pkg
33-
py313-milestone

codecov.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1+
---
12
comment: false
23
coverage:
34
status:
4-
patch: true
5+
patch: false
6+
project: true

tox.ini

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ requires =
55
tox-uv>=1.20.2
66
env_list =
77
py
8+
pre
89
deps
910
devel
1011
docs
@@ -41,8 +42,10 @@ set_env =
4142
PRE_COMMIT_COLOR = always
4243
TERM = xterm-256color
4344
UV_CONSTRAINT = {tox_root}/.config/constraints.txt
44-
deps, lint, milestone: PIP_CONSTRAINT = /dev/null
45-
deps, lint, milestone: UV_CONSTRAINT = /dev/null
45+
deps, lint, milestone, pre: PIP_CONSTRAINT = /dev/null
46+
deps, lint, milestone, pre: UV_CONSTRAINT = /dev/null
47+
pre: UV_PIP_OPTS = "--pre --upgrade"
48+
pre: UV_PRERELEASE = allow
4649
commands_pre =
4750
py: sh -c "rm -f {env_dir}/.coverage* coverage.xml 2>/dev/null || true"
4851
py: coverage erase

0 commit comments

Comments
 (0)