add more tests

This commit is contained in:
JM Faircloth
2023-07-05 12:25:38 -05:00
parent a24b038252
commit 788264dddd
3 changed files with 70 additions and 20 deletions
+17
View File
@@ -185,6 +185,23 @@ jobs:
env:
OTHER_SECRET_OUTPUT: ${{ steps.kv-secrets.outputs.otherSecret }}
- name: Test Parsing Secrets (part 1/2)
# this step sets up secres to be used in Test Parsing Secrets (part 2/2)
uses: ./
with:
url: https://localhost:8200
token: ${{ env.VAULT_TOKEN }}
secrets: |
secret/data/test-json-string jsonString;
secret/data/test-json-multiline jsonStringMultiline;
- name: Test Parsing Secrets (part 2/2)
# this step will call a JS script to test that we can successfully parse
# JSON string data into JS objects
run: |
node ./scripts/parse.js
e2e-tls:
runs-on: ubuntu-latest