Skip to content

Commit 2c03944

Browse files
committed
fix(ci): generate HMAC key for test_smoke.py in CI
- test_smoke.py loads the real policy which needs ./keys/mcp_hmac_key - Add key generation step before running tests
1 parent 58c5df7 commit 2c03944

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.github/workflows/publish.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@ jobs:
2929
- name: Install cloakmcp with test extras
3030
run: pip install -e ".[test]"
3131

32+
- name: Generate test HMAC key
33+
run: mkdir -p keys && openssl rand -hex 32 > keys/mcp_hmac_key
34+
3235
- name: Run tests (including slow)
3336
run: pytest tests/ -v -m ""
3437

0 commit comments

Comments
 (0)