Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 9 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,12 +50,12 @@ jobs:
- name: Cargo build - Tooling
if: matrix.os == 'ubuntu-24.04'
shell: bash
run: cargo build --release --bins --package mithril-end-to-end
run: cargo build --release --bins --package mithril-end-to-end --features future_snark

- name: Build Mithril workspace & publish artifacts
uses: ./.github/workflows/actions/build-upload-mithril-artifact
with:
binaries-build-args: --bins --package mithril-aggregator --package mithril-signer --package mithril-client-cli --package mithril-relay --target=${{ matrix.musl_target }}
binaries-build-args: --features future_snark --bins --package mithril-aggregator --package mithril-signer --package mithril-client-cli --package mithril-relay --target=${{ matrix.musl_target }}
libraries-build-args: --package mithril-stm --package mithril-client --features rustls,full,unstable
binaries-to-check-static: mithril-aggregator,mithril-signer,mithril-client,mithril-relay
binaries-build-target: ${{ matrix.musl_target }}
Expand Down Expand Up @@ -430,6 +430,7 @@ jobs:
mkdir artifacts

- name: Test
id: retry
uses: nick-fields/retry@v4
with:
shell: bash
Expand Down Expand Up @@ -457,8 +458,14 @@ jobs:
./mithril-end-to-end.sh
EXIT_CODE=$?
rm ./mithril-end-to-end.sh
echo "::group::Artificial group after e2e"
echo "This is a test"
echo "::endgroup::"
Comment on lines +461 to +463
exit $EXIT_CODE

- name: Total attempts = ${{ steps.retry.outputs.total_attempts }}
run: echo "Exit error = ${{ steps.retry.outputs.exit_error }}"

- name: Upload E2E Tests Artifacts
if: ${{ failure() }}
uses: actions/upload-artifact@v7
Expand Down
2 changes: 1 addition & 1 deletion mithril-common/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ rustdoc-args = ["--cfg", "docsrs"]
ignored = ["serde_bytes"]

[features]
default = ["num-integer-backend"]
default = ["num-integer-backend", "allow_skip_signer_certification"]

# Enables `rug-backend` features for `mithril-stm` dependency
rug-backend = ["mithril-stm/rug-backend"]
Expand Down
6 changes: 2 additions & 4 deletions mithril-test-lab/mithril-end-to-end/src/utils/formatting.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,7 @@ impl LogGroup {
pub fn new(name: &str, title: &str) -> Self {
let group_title = Self::group_title(name, title);
if is_running_in_github_actions() {
// Note: Disabled until we can figure out how to make the logs group work correctly when
// the e2e is retry by `nick-fields/retry` (currently the group before the retry are lost)
// println!("::group::{group_title}");
println!("::group::{group_title}");
}
Self::print_header(&group_title);

Expand All @@ -33,7 +31,7 @@ impl LogGroup {
impl Drop for LogGroup {
fn drop(&mut self) {
if is_running_in_github_actions() {
// println!("::endgroup::");
println!("::endgroup::");
}
}
}
Loading