From 63977c62d6ace57ded99410b3d619c8d2c4fd4ef Mon Sep 17 00:00:00 2001 From: Niklas Adolfsson Date: Fri, 12 Jan 2024 16:17:53 +0100 Subject: [PATCH] add debug logs --- .github/workflows/actions/prepare-binaries/action.yml | 6 +++--- .github/workflows/ci.yml | 5 ++++- Cargo.toml | 4 ---- tests/monitor.rs | 1 - 4 files changed, 7 insertions(+), 9 deletions(-) diff --git a/.github/workflows/actions/prepare-binaries/action.yml b/.github/workflows/actions/prepare-binaries/action.yml index ad614b420..d6a74f7fd 100644 --- a/.github/workflows/actions/prepare-binaries/action.yml +++ b/.github/workflows/actions/prepare-binaries/action.yml @@ -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 diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a989f3800..d6586750d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 diff --git a/Cargo.toml b/Cargo.toml index cbcfd9e45..cce1e0396 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -44,7 +44,3 @@ anyhow = "1" assert_cmd = "2.0" sp-storage = "17.0.0" regex = "1" - -[features] -default = [] -slow-tests = [] diff --git a/tests/monitor.rs b/tests/monitor.rs index 7fbb51df6..b6925647e 100644 --- a/tests/monitor.rs +++ b/tests/monitor.rs @@ -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;