-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat : updated ci for testing bridge (#7)
* feat : updated ci for testing bridge * feat : updated ci for testing bridge * feat : updated ci for testing bridge * feat : updated ci for testing bridge * feat : updated ci for testing bridge * feat : updated ci for testing bridge * feat : updated ci for testing bridge * feat : updated ci test * feat : updated commands for background run * feat : updated commands for background run * feat : updated commands for background run
- Loading branch information
Showing
22 changed files
with
100,682 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
--- | ||
name: Task - Test Bridge | ||
|
||
on: | ||
workflow_dispatch: | ||
workflow_call: | ||
|
||
jobs: | ||
test_bridge: | ||
runs-on: macos-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
# selecting a toolchain either by action or manual `rustup` calls should happen | ||
# before the plugin, as the cache uses the current rustc version as its cache key | ||
- run: rustup show | ||
|
||
- uses: Swatinem/rust-cache@v2 | ||
|
||
- name: Install Foundry | ||
uses: foundry-rs/foundry-toolchain@v1 | ||
|
||
- name: Run anvil | ||
run: | | ||
anvil </dev/null &>/dev/null & | ||
- name: Run madara | ||
run: | | ||
cd bin | ||
echo "Running madara...." | ||
./run_madara.sh | ||
- name: Run tests | ||
run: | | ||
echo "Running test...." | ||
RUST_LOG=info cargo test -- --nocapture |
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.