Skip to content

Commit

Permalink
Merge pull request #223 from pass-culture/staging
Browse files Browse the repository at this point in the history
MEP #20240920
  • Loading branch information
lmontier-pass authored Sep 20, 2024
2 parents f290ebb + d346ed0 commit 3ca6aa5
Show file tree
Hide file tree
Showing 12 changed files with 522 additions and 20 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/reusable_api_reco_integration_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ jobs:
id-token: 'write'
container: postman/newman:5.3
defaults:
run:
working-directory: "apps/recommendation/api/postman"
run:
working-directory: "apps/recommendation/api/postman/backend"
steps:
- uses: actions/checkout@v4
- name: "Connect to Secret Manager"
Expand Down Expand Up @@ -60,9 +60,8 @@ jobs:
API_RECO_TOKEN:${{ env.DATA_GCP_PROJECT }}/${{ env.API_RECO_SECRET_NAME }}
- name: "Run tests collection"
run: |
newman run api_integration_tests.postman_collection.json \
--environment ${{ inputs.TARGET_ENV }}.postman_environment.json \
--env-var "api_token=${{ steps.secrets-data.outputs.API_RECO_TOKEN }}"
newman run api_integration_tests_backend.postman_collection.json \
--environment ${{ inputs.TARGET_ENV }}_backend.postman_environment.json
- name: "Post to a Slack channel"
if: failure()
uses: slackapi/[email protected]
Expand Down
Loading

0 comments on commit 3ca6aa5

Please sign in to comment.