Skip to content

Commit 366fb0e

Browse files
authored
Always upload sim test logs (#8082)
This CI job failed https://github.com/sigp/lighthouse/actions/runs/17815533375/job/50647915897 But we lost the logs because they aren't uploaded when the job fails. This PR changes the step to always upload job, even in the case of failure. Co-Authored-By: Jimmy Chen <[email protected]>
1 parent 4efe47b commit 366fb0e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/test-suite.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -225,6 +225,7 @@ jobs:
225225
TEST_FEATURES: portable
226226
CI_LOGGER_DIR: ${{ runner.temp }}/network_test_logs
227227
- name: Upload logs
228+
if: always()
228229
uses: actions/upload-artifact@v4
229230
with:
230231
name: network_test_logs
@@ -328,6 +329,7 @@ jobs:
328329
- name: Run a basic beacon chain sim that starts from Deneb
329330
run: cargo run --release --bin simulator basic-sim --disable-stdout-logging --log-dir ${{ runner.temp }}/basic_simulator_logs
330331
- name: Upload logs
332+
if: always()
331333
uses: actions/upload-artifact@v4
332334
with:
333335
name: basic_simulator_logs
@@ -349,6 +351,7 @@ jobs:
349351
- name: Run a beacon chain sim which tests VC fallback behaviour
350352
run: cargo run --release --bin simulator fallback-sim --disable-stdout-logging --log-dir ${{ runner.temp }}/fallback_simulator_logs
351353
- name: Upload logs
354+
if: always()
352355
uses: actions/upload-artifact@v4
353356
with:
354357
name: fallback_simulator_logs

0 commit comments

Comments
 (0)