Skip to content

Commit

Permalink
Simplify / optimize unit tests wf run
Browse files Browse the repository at this point in the history
  • Loading branch information
Mauro Lacy committed Aug 6, 2024
1 parent d426451 commit 5275a1d
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/local-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 5275a1d

Please sign in to comment.