Skip to content

Commit

Permalink
(PC-33838)[PRO] fix e2e report
Browse files Browse the repository at this point in the history
  • Loading branch information
mleroy-pass committed Jan 23, 2025
1 parent 73bfdff commit e759dd0
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 8 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/dev_on_pull_request_workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -249,8 +249,7 @@ jobs:
runs-on: ubuntu-22.04
if: |
always() &&
!cancelled() &&
needs.pcapi-init-job.outputs.pro-changed == 'true'
!cancelled() && needs.test-pro.result != 'skipped'
steps:
- name: "Install Allure CLI via Yarn"
run: yarn global add allure-commandline
Expand Down Expand Up @@ -290,9 +289,7 @@ jobs:
needs: [pcapi-init-job, test-pro-e2e]
runs-on: ubuntu-22.04
if: |
always() &&
!cancelled() &&
needs.pcapi-init-job.outputs.pro-changed == 'true'
always() && !cancelled()
steps:
- name: "Install Allure CLI via Yarn"
run: yarn global add allure-commandline
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/dev_on_push_workflow_main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -246,9 +246,8 @@ jobs:
needs: [test-pro, test-pro-e2e]
runs-on: ubuntu-22.04
if: |
always() &&
!cancelled() &&
(needs.test-pro.result == 'success' || needs.test-pro-e2e.result == 'success')
always() &&
!cancelled() && needs.test-pro.result != 'skipped'
steps:
- name: "Install Allure CLI via Yarn"
run: yarn global add allure-commandline
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/dev_on_workflow_tests_pro.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ jobs:

- name: "Upload Allure results for pro tests"
uses: actions/upload-artifact@v4
if: always()
with:
name: allure-results-pro-unit
path: allure-results
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/dev_on_workflow_tests_pro_e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,7 @@ jobs:

- name: "Upload Allure results for pro E2E tests"
uses: actions/upload-artifact@v4
if: always()
with:
name: allure-results-pro-e2e
path: allure-results
Expand Down

0 comments on commit e759dd0

Please sign in to comment.