-
Notifications
You must be signed in to change notification settings - Fork 87
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into ab/marketplace-upgrade-type
- Loading branch information
Showing
23 changed files
with
1,069 additions
and
334 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
name: SlowEst | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
- release-* | ||
tags: | ||
# YYYYMMDD | ||
- "20[0-9][0-9][0-1][0-9][0-3][0-9]*" | ||
schedule: | ||
- cron: "0 0 * * 1" | ||
pull_request: | ||
workflow_dispatch: | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: ${{ !contains(github.ref, 'main')}} | ||
|
||
env: | ||
RUSTFLAGS: '--cfg async_executor_impl="async-std" --cfg async_channel_impl="async-std"' | ||
RUST_LOG: info,libp2p=off,node=error | ||
|
||
jobs: | ||
slowest: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Fix submodule permissions check | ||
run: | | ||
git config --global --add safe.directory '*' | ||
- name: Install Foundry | ||
uses: foundry-rs/foundry-toolchain@v1 | ||
with: | ||
version: nightly | ||
|
||
- uses: taiki-e/install-action@nextest | ||
|
||
- name: Checkout Repository | ||
uses: actions/checkout@v4 | ||
with: | ||
submodules: recursive | ||
|
||
- name: Enable Rust Caching | ||
uses: Swatinem/rust-cache@v2 | ||
|
||
- name: Build | ||
# Build test binary with `testing` feature, which requires `hotshot_example` config | ||
run: | | ||
export RUSTFLAGS="$RUSTFLAGS --cfg hotshot_example" | ||
export PATH="$PWD/target/release:$PATH" | ||
cargo build --locked --bin diff-test --release | ||
cargo nextest run --locked --release --workspace --all-features --no-run | ||
timeout-minutes: 90 | ||
|
||
- name: SlowEst | ||
env: | ||
CARGO_TERM_COLOR: always | ||
# Build test binary with `testing` feature, which requires `hotshot_example` config | ||
run: | | ||
export RUSTFLAGS="$RUSTFLAGS --cfg hotshot_example" | ||
export PATH="$PWD/target/release:$PATH" | ||
cargo nextest run --locked --release --workspace --all-features --verbose -E 'test(slow_)' | ||
timeout-minutes: 25 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.