From 37cec1e885908ccfa828024d03acc3c167716ac3 Mon Sep 17 00:00:00 2001 From: Martin Milata Date: Tue, 18 Feb 2025 15:47:28 +0100 Subject: [PATCH] fixup! ci: preserve emulator logs for upgrade and persistence tests --- .github/workflows/core.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.github/workflows/core.yml b/.github/workflows/core.yml index 22d3b4333e..906747887b 100644 --- a/.github/workflows/core.yml +++ b/.github/workflows/core.yml @@ -378,6 +378,13 @@ jobs: - uses: ./.github/actions/environment - run: nix-shell --run "tests/download_emulators.sh" - run: nix-shell --run "poetry run pytest tests/upgrade_tests" + - uses: actions/upload-artifact@v4 + with: + name: core-test-upgrade-${{ matrix.model }}-${{ matrix.asan }} + path: | + tests/trezor.log + retention-days: 7 + if: always() # Persistence tests - UI. @@ -419,6 +426,13 @@ jobs: if: always() continue-on-error: true - uses: ./.github/actions/upload-coverage + - uses: actions/upload-artifact@v4 + with: + name: core-test-persistence-${{ matrix.model }}-${{ matrix.asan }} + path: | + tests/trezor.log + retention-days: 7 + if: always() core_hwi_test: name: HWI tests