Skip to content

Commit 6b1d478

Browse files
committed
ci: add k8s to provider matrix, split provider tests, fix setup-bun SHA
- providers-tests + providers-tests-serial matrices now include k8s (was aws-only), so the k8s provider's full test taxonomy runs in CI for the first time. Guarded so a not-yet-existent provider path skips cleanly instead of failing collection. - Provider unit/mocked/contract tests run per-provider in the matrix rather than in the monolithic unit-tests job. - Correct the oven-sh/setup-bun v2 SHA pin — Dependabot pinned a non-existent SHA that broke Semantic Release, dev-pypi and prod-release.
1 parent a77096d commit 6b1d478

5 files changed

Lines changed: 13 additions & 9 deletions

File tree

.github/workflows/ci-tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ jobs:
105105
strategy:
106106
fail-fast: false
107107
matrix:
108-
provider: [aws]
108+
provider: [aws, k8s]
109109
uses: ./.github/workflows/reusable-test.yml
110110
with:
111111
test-type: providers
@@ -133,7 +133,7 @@ jobs:
133133
strategy:
134134
fail-fast: false
135135
matrix:
136-
provider: [aws]
136+
provider: [aws, k8s]
137137
uses: ./.github/workflows/reusable-test.yml
138138
with:
139139
test-type: providers-serial

.github/workflows/dev-pypi.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ jobs:
8888
fail-on-cache-miss: false
8989

9090
- name: Setup Bun (for UI static bundle)
91-
uses: oven-sh/setup-bun@735343b667d3e6f658f44d0eca948eb6282f4b11 # v2
91+
uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2
9292
with:
9393
bun-version: latest
9494

.github/workflows/prod-release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ jobs:
7979
fail-on-cache-miss: false
8080

8181
- name: Setup Bun (for UI static bundle)
82-
uses: oven-sh/setup-bun@735343b667d3e6f658f44d0eca948eb6282f4b11 # v2
82+
uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2
8383
with:
8484
bun-version: latest
8585

@@ -182,7 +182,7 @@ jobs:
182182
fail-on-cache-miss: false
183183

184184
- name: Setup Bun (for UI static bundle)
185-
uses: oven-sh/setup-bun@735343b667d3e6f658f44d0eca948eb6282f4b11 # v2
185+
uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2
186186
with:
187187
bun-version: latest
188188

@@ -268,7 +268,7 @@ jobs:
268268
fail-on-cache-miss: false
269269

270270
- name: Setup Bun (for UI static bundle)
271-
uses: oven-sh/setup-bun@735343b667d3e6f658f44d0eca948eb6282f4b11 # v2
271+
uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2
272272
with:
273273
bun-version: latest
274274

.github/workflows/semantic-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ jobs:
110110
uses: astral-sh/setup-uv@d31148d669074a8d0a63714ba94f3201e7020bc3 # v8.3.0
111111

112112
- name: Setup Bun (for UI static bundle)
113-
uses: oven-sh/setup-bun@735343b667d3e6f658f44d0eca948eb6282f4b11 # v2
113+
uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2
114114
with:
115115
bun-version: latest
116116

makefiles/ci.mk

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,11 +146,15 @@ PROVIDER_SERIAL_PATH := $(if $(PROVIDER),$(TESTS_PROVIDERS)/$(PROVIDER)/live,$(T
146146
PYTEST_LIVE ?=
147147
ci-tests-providers: ## Run providers tests (PROVIDER=<name> scopes to one provider)
148148
@echo "Running provider tests (parallel): $(if $(PROVIDER),$(PROVIDER),all)..."
149-
$(call run-tool,pytest,$(PROVIDER_PATH) $(PYTEST_PARALLEL) $(PYTEST_ARGS) $(PYTEST_COV_ARGS) --cov-report=xml:coverage-providers$(PROVIDER_SUFFIX).xml --junitxml=junit-providers$(PROVIDER_SUFFIX).xml)
149+
$(if $(and $(PROVIDER),$(if $(wildcard $(PROVIDER_PATH)),,skip)),\
150+
@echo "Provider path $(PROVIDER_PATH) does not exist yet — skipping (no tests to run).",\
151+
$(call run-tool,pytest,$(PROVIDER_PATH) $(PYTEST_PARALLEL) $(PYTEST_ARGS) $(PYTEST_COV_ARGS) --cov-report=xml:coverage-providers$(PROVIDER_SUFFIX).xml --junitxml=junit-providers$(PROVIDER_SUFFIX).xml))
150152

151153
ci-tests-providers-serial: ## Run the serial-marked subset of provider tests (live AWS, etc.)
152154
@echo "Running serial provider tests: $(if $(PROVIDER),$(PROVIDER),all)..."
153-
$(call run-tool,pytest,$(PROVIDER_SERIAL_PATH) $(PYTEST_SERIAL) $(PYTEST_LIVE) $(PYTEST_ARGS) $(PYTEST_COV_ARGS) --cov-report=xml:coverage-providers$(PROVIDER_SUFFIX)-serial.xml --junitxml=junit-providers$(PROVIDER_SUFFIX)-serial.xml)
155+
$(if $(and $(PROVIDER),$(if $(wildcard $(PROVIDER_SERIAL_PATH)),,skip)),\
156+
@echo "Provider serial path $(PROVIDER_SERIAL_PATH) does not exist yet — skipping (no tests to run).",\
157+
$(call run-tool,pytest,$(PROVIDER_SERIAL_PATH) $(PYTEST_SERIAL) $(PYTEST_LIVE) $(PYTEST_ARGS) $(PYTEST_COV_ARGS) --cov-report=xml:coverage-providers$(PROVIDER_SUFFIX)-serial.xml --junitxml=junit-providers$(PROVIDER_SUFFIX)-serial.xml))
154158

155159
ci-tests-infrastructure: ## Run infrastructure tests only (matches ci.yml infrastructure-tests job)
156160
@echo "Running infrastructure tests (parallel)..."

0 commit comments

Comments
 (0)