Skip to content

Commit

Permalink
CI: Upload e2e dir on failure (#1536)
Browse files Browse the repository at this point in the history
  • Loading branch information
jfldde authored Nov 29, 2024
1 parent d7f5037 commit 3ef83cb
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 2 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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" }

0 comments on commit 3ef83cb

Please sign in to comment.