mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-03 00:31:50 +00:00
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 <jchen.tc@gmail.com>
This commit is contained in:
3
.github/workflows/test-suite.yml
vendored
3
.github/workflows/test-suite.yml
vendored
@@ -225,6 +225,7 @@ jobs:
|
|||||||
TEST_FEATURES: portable
|
TEST_FEATURES: portable
|
||||||
CI_LOGGER_DIR: ${{ runner.temp }}/network_test_logs
|
CI_LOGGER_DIR: ${{ runner.temp }}/network_test_logs
|
||||||
- name: Upload logs
|
- name: Upload logs
|
||||||
|
if: always()
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: network_test_logs
|
name: network_test_logs
|
||||||
@@ -328,6 +329,7 @@ jobs:
|
|||||||
- name: Run a basic beacon chain sim that starts from Deneb
|
- name: Run a basic beacon chain sim that starts from Deneb
|
||||||
run: cargo run --release --bin simulator basic-sim --disable-stdout-logging --log-dir ${{ runner.temp }}/basic_simulator_logs
|
run: cargo run --release --bin simulator basic-sim --disable-stdout-logging --log-dir ${{ runner.temp }}/basic_simulator_logs
|
||||||
- name: Upload logs
|
- name: Upload logs
|
||||||
|
if: always()
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: basic_simulator_logs
|
name: basic_simulator_logs
|
||||||
@@ -349,6 +351,7 @@ jobs:
|
|||||||
- name: Run a beacon chain sim which tests VC fallback behaviour
|
- name: Run a beacon chain sim which tests VC fallback behaviour
|
||||||
run: cargo run --release --bin simulator fallback-sim --disable-stdout-logging --log-dir ${{ runner.temp }}/fallback_simulator_logs
|
run: cargo run --release --bin simulator fallback-sim --disable-stdout-logging --log-dir ${{ runner.temp }}/fallback_simulator_logs
|
||||||
- name: Upload logs
|
- name: Upload logs
|
||||||
|
if: always()
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: fallback_simulator_logs
|
name: fallback_simulator_logs
|
||||||
|
|||||||
Reference in New Issue
Block a user