Skip to content

Commit f1302d2

Browse files
committed
tests: update trustroot before offline test
The test assets currently require a trust root which is newer than the one embedded in sigstore-python: Update before offline test
1 parent ca6e4d3 commit f1302d2

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/tests.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,4 +63,11 @@ jobs:
6363
- name: run tests offline
6464
run: |
6565
make dev INSTALL_EXTRA=test
66+
67+
# ensure trust root is updated
68+
. ./.venv/bin/activate && \
69+
python -m sigstore plumbing update-trust-root && \
70+
python -m sigstore --staging plumbing update-trust-root
71+
72+
# run offline tests without network access
6673
firejail --noprofile --net=none --env=TEST_OFFLINE=1 make test-nocoverage

0 commit comments

Comments
 (0)