Skip to content

Commit 2c19156

Browse files
authored
Fixed tests results not saved on failure in GHA. (#1727)
1 parent 8318b37 commit 2c19156

4 files changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/build-test-deploy.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -321,6 +321,7 @@ jobs:
321321
322322
- name: Upload test artifacts
323323
uses: actions/upload-artifact@v4
324+
if: always()
324325
with:
325326
name: test-artifacts-${{ matrix.instance }}
326327
path: .logs

.vortex/installer/tests/Fixtures/install/_baseline/.github/workflows/build-test-deploy.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -306,6 +306,7 @@ jobs:
306306
307307
- name: Upload test artifacts
308308
uses: actions/upload-artifact@__VERSION__
309+
if: always()
309310
with:
310311
name: test-artifacts-${{ matrix.instance }}
311312
path: .logs

.vortex/installer/tests/Fixtures/install/deploy_type_none_gha/.github/workflows/build-test-deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@@ -338,61 +338,3 @@
1+
@@ -339,61 +339,3 @@
22
timeout-minutes: 120 # Cancel the action after 15 minutes, regardless of whether a connection has been established.
33
with:
44
detached: true

.vortex/installer/tests/Fixtures/install/provision_profile/.github/workflows/build-test-deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@
162162
- name: Login to container registry
163163
run: ./scripts/vortex/login-container-registry.sh
164164

165-
@@ -342,7 +210,6 @@
165+
@@ -343,7 +211,6 @@
166166
deploy:
167167
runs-on: ubuntu-latest
168168
needs: build

0 commit comments

Comments
 (0)