Skip to content

Commit 9f21f2a

Browse files
committed
ci: add label workflow
1 parent 4a6f511 commit 9f21f2a

File tree

2 files changed

+43
-15
lines changed

2 files changed

+43
-15
lines changed

.github/workflows/labels.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Labels
2+
3+
on:
4+
pull_request:
5+
types:
6+
- labeled
7+
8+
concurrency:
9+
group: ${{ github.workflow }}-${{ github.ref }}
10+
cancel-in-progress: true
11+
12+
jobs:
13+
build-bundled-duckdb:
14+
name: Build w/ bundled DuckDB
15+
if: ${{ github.event.label.name == '[build] bundled-duckdb' }}
16+
runs-on: ubuntu-latest
17+
steps:
18+
- uses: actions/checkout@v4
19+
- uses: astral-sh/setup-uv@v3
20+
- uses: Swatinem/rust-cache@v2
21+
- name: Sync dev
22+
run: uv sync --dev
23+
- name: Build
24+
run: uv run maturin build -F duckdb-bundled
25+
- name: Install
26+
run: uv pip install target/wheels/*.whl
27+
- name: Test
28+
run: uv run pytest

Cargo.lock

Lines changed: 15 additions & 15 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)