Skip to content

Commit 2c8d642

Browse files
committed
MPT-15317 Report portal setup
1 parent 0699809 commit 2c8d642

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/cron-main-e2e.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
- name: "Run E2E test"
3131
run: docker compose run --service-ports e2e bash -c "pytest -v -p no:randomly --no-cov --reportportal --rp-launch=$RP_LAUNCH --rp-api-key=$RP_API_KEY --rp-endpoint=$RP_ENDPOINT --junitxml=e2e-report.xml tests/e2e"
3232
env:
33-
RP_LAUNCH: github-e2e-cron-main
33+
RP_LAUNCH: github-e2e-cron-${{ github.ref_name }}
3434
RP_ENDPOINT: ${{ secrets.RP_ENDPOINT }}
3535
RP_API_KEY: ${{ secrets.RP_API_KEY }}
3636

.github/workflows/pr-build-merge.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,9 @@ jobs:
4141
run: docker compose run --service-ports app_test
4242

4343
- name: "Run E2E test"
44-
run: docker compose run --service-ports e2e bash -c "pytest -v -p no:randomly --no-cov --junitxml=e2e-report.xml tests/e2e"
44+
run: docker compose run --service-ports e2e bash -c "pytest -v -p no:randomly --no-cov --reportportal --rp-launch=$RP_LAUNCH --rp-api-key=$RP_API_KEY --rp-endpoint=$RP_ENDPOINT --junitxml=e2e-report.xml tests/e2e"
4545
env:
46-
RP_LAUNCH: github-e2e-test
46+
RP_LAUNCH: github-e2e-pull_request-${{ github.event.number }}
4747
RP_ENDPOINT: ${{ secrets.RP_ENDPOINT }}
4848
RP_API_KEY: ${{ secrets.RP_API_KEY }}
4949

0 commit comments

Comments
 (0)