mirror of
https://github.com/hashicorp/vault-action.git
synced 2026-04-07 20:50:09 +00:00
fix(tests): fix unit tests and improve e2e
This commit is contained in:
parent
3dfe7ff808
commit
5357098084
3 changed files with 19 additions and 6 deletions
3
.github/workflows/build.yml
vendored
3
.github/workflows/build.yml
vendored
|
|
@ -112,6 +112,7 @@ jobs:
|
|||
VAULT_PORT: ${{ job.services.vault.ports[8200] }}
|
||||
- name: use vault action (default K/V version 2)
|
||||
uses: ./
|
||||
id: kv-secrets
|
||||
with:
|
||||
url: http://localhost:${{ job.services.vault.ports[8200] }}
|
||||
token: testtoken
|
||||
|
|
@ -140,6 +141,8 @@ jobs:
|
|||
/cubbyhole/test zip | NAMED_CUBBYSECRET ;
|
||||
- name: verify
|
||||
run: npm run test:e2e
|
||||
env:
|
||||
OTHER_SECRET_OUTPUT: ${{ job.kv-secrets.outputs.otherSecret }}
|
||||
|
||||
publish:
|
||||
if: github.event_name == 'push' && contains(github.ref, 'master')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue