-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Simplify / optimize unit tests wf run
- Loading branch information
Mauro Lacy
committed
Aug 6, 2024
1 parent
d426451
commit 5275a1d
Showing
1 changed file
with
3 additions
and
7 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,13 +13,9 @@ jobs: | |
image: rust:1.78.0 | ||
steps: | ||
- uses: actions/[email protected] | ||
- name: Set up Rust environment | ||
run: rustup component add rustfmt clippy | ||
- name: Build Babylon contracts | ||
run: cargo build | ||
- name: Test generating schema | ||
- name: Build contracts, check formats, and run unit tests | ||
run: cargo test --lib | ||
- name: Generate schemas | ||
run: |- | ||
(cd ./contracts/babylon && cargo run --bin schema) | ||
(cd ./contracts/btc-staking && cargo run --bin btcstaking-schema) | ||
- name: Check formats and run unit tests | ||
run: cargo test --lib |