26 lines
690 B
YAML
26 lines
690 B
YAML
# Mirror of .github/workflows/verify.yml for Tangled Spindles
|
|
# Docs: https://docs.tangled.org/spindles#pipelines
|
|
#
|
|
# Prerequisites:
|
|
# - Add secret "HURL_api_token" in repository Settings → Pipelines → Secrets.
|
|
# Tangled injects secrets as environment variables by name at run time.
|
|
|
|
when:
|
|
# Manual trigger only, matching workflow_dispatch
|
|
- event: ["push", "manual"]
|
|
branch: ["main"]
|
|
|
|
engine: "nixery"
|
|
|
|
# Clone defaults are fine:
|
|
# skip: false, depth: 1, submodules: false
|
|
|
|
dependencies:
|
|
nixpkgs:
|
|
- hurl
|
|
|
|
steps:
|
|
- name: "Run hurl tests"
|
|
command: "hurl --test test/prod.hurl"
|
|
# HURL_api_token is injected from repository secrets (configured separately).
|