Skip to content

Commit

Permalink
Merge pull request #410 from catenax-ng/fix/tavern-workflow
Browse files Browse the repository at this point in the history
Fix/tavern workflow
  • Loading branch information
ds-jkreutzfeld committed Oct 17, 2022
2 parents f03792a + 414041e commit 27c1b0e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions .github/workflows/kics.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ jobs:
path: "."
# Exclude paths or files from scan
# exclude_paths: "api/irs-v1.0.yaml"
exclude_paths: "api-tests/irs-api-tests.tavern.yaml"
# Fail on HIGH severity results
fail_on: high
# when provided with a directory on output_path
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/tavern.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,14 @@ jobs:

- name: Install dependencies
run: |
py -m pip install pytest
py -m pip install tavern
pip install pytest
pip install tavern
- name: Run tests
env:
IRS_HOST: ${{ github.event.inputs.irs-host || 'https://irs.int.demo.catena-x.net' }}
KEYCLOAK_HOST: https://centralidp.demo.catena-x.net/auth/realms/CX-Central/protocol/openid-connect/token
KEYCLOAK_HOST: ${{ secrets.KEYCLOAK_OAUTH2_CLIENT_TOKEN_URI }}
KEYCLOAK_CLIENT_ID: ${{ secrets.KEYCLOAK_OAUTH2_CLIENT_ID }}
KEYCLOAK_CLIENT_SECRET: ${{ secrets.KEYCLOAK_OAUTH2_CLIENT_SECRET }}
run: |
py -m pytest api-tests/irs-api-tests.tavern.yaml
python -m pytest api-tests/irs-api-tests.tavern.yaml

0 comments on commit 27c1b0e

Please sign in to comment.