test: gate releases on enforced conformance and installed package checks
Assistant: codex Assistant-Model: gpt-6-astra Assistant-Session: 01a0e747-8f27-7242-8df8-8bc44f88c929
This commit is contained in:
parent
a15fe032b0
commit
1ece969f59
6 changed files with 206 additions and 17 deletions
14
Makefile
14
Makefile
|
|
@ -1,4 +1,4 @@
|
|||
.PHONY: install test runtime-run conformance container-build ecosystem-regression
|
||||
.PHONY: install test runtime-run conformance container-build ecosystem-regression inventory-check package-check ci-check
|
||||
|
||||
UV ?= uv
|
||||
ECOSYSTEM_REGRESSION ?= /home/worsch/the-custodian/scripts/hub-ecosystem-regression.sh
|
||||
|
|
@ -9,7 +9,7 @@ install:
|
|||
$(UV) sync
|
||||
|
||||
test:
|
||||
$(UV) run python -m pytest -q
|
||||
$(UV) run --locked --extra runtime python -m pytest -q
|
||||
|
||||
runtime-run:
|
||||
$(UV) run --extra runtime hub-core api
|
||||
|
|
@ -22,3 +22,13 @@ container-build:
|
|||
|
||||
ecosystem-regression:
|
||||
bash $(ECOSYSTEM_REGRESSION)
|
||||
|
||||
# Local equivalents of the required CI gates.
|
||||
inventory-check:
|
||||
$(UV) run --locked --extra runtime python tools/build_access_inventory.py --inventory docs/platform-access-inventory.json --check
|
||||
|
||||
package-check:
|
||||
$(UV) build --out-dir dist/ci
|
||||
@set -eu; set -- dist/ci/*.whl; test "$$#" -eq 1; $(UV) run --no-project --with "$$1" python -I tools/check_installed_package.py
|
||||
|
||||
ci-check: test inventory-check package-check
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue