Commit 183421a
committed
[ci] Expose HF_TOKEN to programming-examples-peano test step
Wires the existing HF_TOKEN repository secret into the
check-programming-examples-peano invocation in
.github/workflows/buildAndTestRyzenAI.yml, so lit tests with
REQUIRES: hf_token (currently
programming_examples/llama32_1b/run_npu2_verify.lit) can authenticate
against Hugging Face Hub for gated model downloads.
Tests without REQUIRES: hf_token are unaffected — they continue to
run as before. When the secret is unset (e.g. on fork-originating PR
builds, where GitHub doesn't expose secrets by policy), the lit
feature stays disabled and gated tests skip cleanly with UNSUPPORTED.1 parent 308b372 commit 183421a
1 file changed
Lines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
137 | 137 | | |
138 | 138 | | |
139 | 139 | | |
140 | | - | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
141 | 146 | | |
142 | 147 | | |
143 | 148 | | |
| |||
0 commit comments