-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #223 from pass-culture/staging
MEP #20240920
- Loading branch information
Showing
12 changed files
with
522 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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" | ||
|
@@ -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] | ||
|
Oops, something went wrong.