Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
baichuan3 committed Mar 12, 2025
1 parent 9ed5bb1 commit 986b8c8
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
8 changes: 7 additions & 1 deletion .github/workflows/check_build_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ jobs:
cargo run --package framework-release --bin framework-release
cargo run --bin rooch init --skip-password
- name: Run Rust tests in multi theads
- name: Run Rust tests in parallel
run: ./scripts/pr.sh -t

- name: Run Move tests
Expand All @@ -97,24 +97,30 @@ jobs:
# Check Docker
docker --version
docker pull lncm/bitcoind:v25.1 &
# docker pull bitseed/ord:0.18.0-burn &
# docker pull bitseed/bitseed:0.1.8 &
# Setup pnpm and run web/SDK tests
# . $NVM_DIR/nvm.sh
# nvm install 20.3.1
# nvm use 20.3.1
npm install [email protected] -g
pnpm install
# pnpm bitseed-sdk playwright-deps
# Run web/SDK tasks in parallel
pnpm lint &
pnpm test-suite build &
pnpm rooch-sdk build &
pnpm rooch-sdk-kit build &
# pnpm bitseed-sdk lint &
# pnpm bitseed-sdk build &
wait
# Run tests
pnpm rooch-sdk test
pnpm rooch-sdk-kit test || true
# pnpm bitseed-sdk test || true
- uses: CatChen/check-git-status-action@v1
with:
Expand Down
6 changes: 3 additions & 3 deletions scripts/pr.sh
Original file line number Diff line number Diff line change
Expand Up @@ -129,9 +129,9 @@ if [ ! -z "$ALSO_TEST" ]; then
# --no-capture

# Run framework tests in parallel
cargo test -p rooch-framework-tests -p rooch-integration-test-runner --test-threads=8 &
cargo test --release -p rooch-framework-tests bitcoin_test --test-threads=8 &
RUST_LOG=warn cargo test -p testsuite --test integration --test-threads=8 &
cargo test -p rooch-framework-tests -p rooch-integration-test-runner -- --test-threads=8 &
cargo test --release -p rooch-framework-tests bitcoin_test -- --test-threads=8 &
RUST_LOG=warn cargo test -p testsuite --test integration -- --test-threads=8 &
wait
fi

Expand Down

0 comments on commit 986b8c8

Please sign in to comment.