Skip to content

Commit e4fd75c

Browse files
RonnyPfannschmidtCursor AIComposer
committed
ci: add manual downstream workflow for recipe matrix
Introduce a workflow_dispatch-only workflow that runs each downstream TOML recipe (conda, datasette, devpi, hatch, pytest, python-lsp-server, tox) on ubuntu-latest with Python 3.12 and uv. Matrix jobs are independent (fail-fast: false) and time out after 120 minutes. Trigger from Actions and, when validating a change that needs it, select the relevant branch under "Use workflow from" (for example a pull request head branch). Co-authored-by: Cursor AI <ai@cursor.sh> Co-authored-by: Composer <composer@cursor.com>
1 parent b6c5eba commit e4fd75c

1 file changed

Lines changed: 36 additions & 0 deletions

File tree

.github/workflows/downstream.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
# Downstream checks are manual-only. For a PR: Actions → downstream → Run workflow,
2+
# then pick the PR branch under "Use workflow from".
3+
name: downstream
4+
5+
on:
6+
workflow_dispatch:
7+
8+
permissions: {}
9+
10+
jobs:
11+
recipe:
12+
name: downstream (${{ matrix.recipe }})
13+
runs-on: ubuntu-latest
14+
timeout-minutes: 120
15+
strategy:
16+
fail-fast: false
17+
matrix:
18+
recipe:
19+
- conda
20+
- datasette
21+
- devpi
22+
- hatch
23+
- pytest
24+
- python-lsp-server
25+
- tox
26+
steps:
27+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
28+
with:
29+
persist-credentials: false
30+
- uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
31+
with:
32+
python-version: "3.12"
33+
allow-prereleases: true
34+
- uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1.0
35+
- name: Run downstream recipe
36+
run: uv run downstream/run_downstream.py "${{ matrix.recipe }}"

0 commit comments

Comments
 (0)