Skip to content

Commit 465f35f

Browse files
committed
Modify condition to upload XML int test reports on PR/push only
1 parent 675bafa commit 465f35f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/e2e-test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ jobs:
9696
LINODE_TOKEN: ${{ env.LINODE_TOKEN }}
9797

9898
- name: Upload Test Report as Artifact
99-
if: always() && github.event_name == 'push'
99+
if: always()
100100
uses: actions/upload-artifact@v6
101101
with:
102102
name: test-report-file
@@ -172,7 +172,7 @@ jobs:
172172
process-upload-report:
173173
runs-on: ubuntu-latest
174174
needs: [integration-tests]
175-
if: always() && github.repository == 'linode/linode_api4-python' # Run even if integration tests fail and only on main repository
175+
if: always() && github.repository == 'linode/linode_api4-python' && github.event_name == 'push' # Run even if integration tests fail and only on main repository and push event
176176
outputs:
177177
summary: ${{ steps.set-test-summary.outputs.summary }}
178178

0 commit comments

Comments
 (0)