From 3ef83cb60bf52b799091d113911a780b7640e2ba Mon Sep 17 00:00:00 2001 From: jfldde <168934971+jfldde@users.noreply.github.com> Date: Fri, 29 Nov 2024 13:08:58 +0000 Subject: [PATCH] CI: Upload e2e dir on failure (#1536) --- .github/workflows/checks.yml | 17 +++++++++++++++++ Cargo.lock | 2 +- Cargo.toml | 2 +- 3 files changed, 19 insertions(+), 2 deletions(-) diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index bac61319c..71858de31 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -227,6 +227,15 @@ jobs: RISC0_DEV_MODE: 1 # This is needed to generate mock proofs and verify them CITREA_E2E_TEST_BINARY: ${{ github.workspace }}/target/debug/citrea PARALLEL_PROOF_LIMIT: 1 + TEST_OUT_DIR: ${{ runner.temp }}/coverage + + - name: Upload e2e test dir + if: failure() || cancelled() + uses: actions/upload-artifact@v4 + with: + name: e2e-test-dir + path: ${{ runner.temp }}/coverage + - name: Upload coverage uses: codecov/codecov-action@v4 with: @@ -411,6 +420,14 @@ jobs: CI_TEST_MODE: 1 CITREA_E2E_TEST_BINARY: ${{ github.workspace }}/target/debug/citrea PARALLEL_PROOF_LIMIT: 1 + TEST_OUT_DIR: ${{ runner.temp }}/test + + - name: Upload e2e test dir + if: failure() || cancelled() + uses: actions/upload-artifact@v4 + with: + name: e2e-test-dir + path: ${{ runner.temp }}/test system-contracts: strategy: diff --git a/Cargo.lock b/Cargo.lock index 66d402421..204c5a323 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1834,7 +1834,7 @@ dependencies = [ [[package]] name = "citrea-e2e" version = "0.1.0" -source = "git+https://github.com/chainwayxyz/citrea-e2e?rev=5baaef3#5baaef32ac8d2c7032bca26cbb10d0f6060440dc" +source = "git+https://github.com/chainwayxyz/citrea-e2e?rev=8342386#8342386cf7ade9626080475f198d5d6eb8640a61" dependencies = [ "anyhow", "async-trait", diff --git a/Cargo.toml b/Cargo.toml index 0c56a36b4..ddee06dea 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -155,7 +155,7 @@ tower-http = { version = "0.5.0", features = ["full"] } tower = { version = "0.4.13", features = ["full"] } hyper = { version = "1.4.0" } -citrea-e2e = { git = "https://github.com/chainwayxyz/citrea-e2e", rev = "5baaef3" } +citrea-e2e = { git = "https://github.com/chainwayxyz/citrea-e2e", rev = "8342386" } [patch.crates-io] bitcoincore-rpc = { version = "0.18.0", git = "https://github.com/chainwayxyz/rust-bitcoincore-rpc.git", rev = "ca3cfa2" }