Skip to content

Commit

Permalink
add debug logs
Browse files Browse the repository at this point in the history
  • Loading branch information
niklasad1 committed Jan 12, 2024
1 parent 80a5a60 commit 63977c6
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 9 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/actions/prepare-binaries/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@ runs:
chmod u+x ./tmp/polkadot* ./tmp/staking-miner-playground
./tmp/polkadot --version
./tmp/staking-miner-playground --version
mkdir -p ~/.local/bin
mv ./tmp/polkadot* ~/.local/bin
mv ./tmp/staking-miner-playground ~/.local/bin
mkdir -p /usr/local/bin
mv ./tmp/polkadot* /usr/local/bin
mv ./tmp/staking-miner-playground /usr/local/bin
5 changes: 4 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -140,8 +140,11 @@ jobs:

- name: Run tests on Ubuntu
run: |
staking-miner-playground --version
polkadot --version
echo $PATH
${{ env.RUST_INFO }}
RUST_LOG=info cargo test --workspace --all-features -- --nocapture
RUST_LOG=info cargo test --workspace -- --nocapture
build:
name: Build polkadot-staking-miner binary
Expand Down
4 changes: 0 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,3 @@ anyhow = "1"
assert_cmd = "2.0"
sp-storage = "17.0.0"
regex = "1"

[features]
default = []
slow-tests = []
1 change: 0 additions & 1 deletion tests/monitor.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//! Requires a `polkadot binary ` built with `--features fast-runtime` in the path to run integration tests against.
#![cfg(feature = "slow-tests")]
pub mod common;

Expand Down

0 comments on commit 63977c6

Please sign in to comment.