Skip to content

Commit 1efcfb1

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

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.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: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
build:
1616

1717
runs-on: ubuntu-latest
18-
timeout-minutes: 20
18+
timeout-minutes: 45
1919

2020
steps:
2121
- name: "Checkout"
@@ -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)