Skip to content

Commit 52436cf

Browse files
committed
fixed test reports on PR
1 parent 6a24f92 commit 52436cf

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.github/actions/gen-report/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ runs:
44
using: "composite"
55
steps:
66
- name: Generate Report
7-
uses: dorny/test-reporter@v1
7+
uses: dorny/test-reporter@v2
88
if: success() || failure() # run this step even if previous step failed
99
with:
1010
name: ${{github.job}} REPORT # Name of the check run which will be created

.github/workflows/test-build.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ jobs:
5454
- name: Run tests
5555
run: poetry run python3 -m invoke test-ci-addons -n 1 --junit
5656
- name: Upload report
57-
if: (github.event_name != 'pull_request') && (success() || failure()) # run this step even if previous step failed
57+
if: (success() || failure()) # run this step even if previous step failed
5858
uses: ./.github/actions/gen-report
5959

6060
website:
@@ -81,7 +81,7 @@ jobs:
8181
- name: Run tests
8282
run: poetry run python3 -m invoke test-ci-website -n 1 --junit
8383
- name: Upload report
84-
if: (github.event_name != 'pull_request') && (success() || failure()) # run this step even if previous step failed
84+
if: (success() || failure()) # run this step even if previous step failed
8585
uses: ./.github/actions/gen-report
8686

8787
api1_and_js:
@@ -110,7 +110,7 @@ jobs:
110110
- name: Run test
111111
run: poetry run python3 -m invoke test-ci-api1-and-js -n 1 --junit
112112
- name: Upload report
113-
if: (github.event_name != 'pull_request') && (success() || failure()) # run this step even if previous step failed
113+
if: (success() || failure()) # run this step even if previous step failed
114114
uses: ./.github/actions/gen-report
115115

116116
api2:
@@ -137,7 +137,7 @@ jobs:
137137
- name: Run tests
138138
run: poetry run python3 -m invoke test-ci-api2 -n 1 --junit
139139
- name: Upload report
140-
if: (github.event_name != 'pull_request') && (success() || failure()) # run this step even if previous step failed
140+
if: (success() || failure()) # run this step even if previous step failed
141141
uses: ./.github/actions/gen-report
142142

143143
api3_and_osf:
@@ -165,5 +165,5 @@ jobs:
165165
- name: Run tests
166166
run: poetry run python3 -m invoke test-ci-api3-and-osf -n 1 --junit
167167
- name: Upload report
168-
if: (github.event_name != 'pull_request') && (success() || failure()) # run this step even if previous step failed
168+
if: (success() || failure()) # run this step even if previous step failed
169169
uses: ./.github/actions/gen-report

0 commit comments

Comments
 (0)