Skip to content

Commit

Permalink
add instructions to readme
Browse files Browse the repository at this point in the history
 - fix test.yml
  • Loading branch information
kamiyaa committed Jan 24, 2025
1 parent 57a2122 commit d7613f8
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ jobs:
RUST_BACKTRACE: 'full'

- name: agent tests (Sealevel)
run: cargo run --release --bin run-locally --features test-utils
run: cargo test --release --package run-locally --bin run-locally --features sealevel,test-utils -- sealevel::test --nocapture
if: matrix.e2e-type == 'evm' && ${{ steps.check-rust-changes.outputs.rust_changes }}
working-directory: ./rust/main
env:
Expand Down
8 changes: 8 additions & 0 deletions rust/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,10 +112,18 @@ validator. By default, this test will run indefinitely, but can be stopped with

To run the tests for a specific VM, use the `--features` flag.

##### Cosmos E2E Test

```bash
cargo test --release --package run-locally --bin run-locally --features cosmos -- cosmos::test --nocapture
```

##### Sealevel E2E Test

```bash
cargo test --release --package run-locally --bin run-locally --features sealevel -- sealevel::test --nocapture
```

### Building Agent Docker Images

There exists a docker build for the agent binaries. These docker images are used for deploying the agents in a
Expand Down
1 change: 0 additions & 1 deletion rust/main/utils/run-locally/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
//! the end conditions are met, the test is a failure. Defaults to 10 min.
//! - `E2E_KATHY_MESSAGES`: Number of kathy messages to dispatch. Defaults to 16 if CI mode is enabled.
//! else false.
//! - `SEALEVEL_ENABLED`: true/false, enables sealevel testing. Defaults to true.
use std::{
collections::HashMap,
Expand Down

0 comments on commit d7613f8

Please sign in to comment.