Radish alpha
h
Radicle Heartwood Protocol & Stack
Radicle
Git (anonymous pull)
Log in to clone via SSH
github: Workaround test dep on git remote helper
Slack Coder committed 3 years ago
commit 8f8eacc0785941276c37bf10003d9b02b7ce68f9
parent 54bcb91339f133e8e4cbe74482c4afe8cadf20f3
2 files changed +13 -1
modified .github/workflows/actions.yml
@@ -21,7 +21,18 @@ jobs:
        env:
          RUSTFLAGS: -D warnings
      - name: Run tests
-
        run: cargo test --all --verbose --all-features
+
        run: |
+
          cargo test --all --verbose --all-features
+

+
          # Workaround for client document tests dependent on the remote
+
          # helper. Tests which rely on these should be marked #[ignore] and
+
          # whitelisted here.
+
          #
+
          # Marking them as 'ignored' will allow local testing to work as
+
          # expected, yet allow these document tests to be covered during
+
          # integration testing.
+
          cargo install --locked --debug --path ./radicle-remote-helper
+
          cargo test --all --verbose --all-features rad_patch -- --ignored

  docs:
    name: Docs
modified radicle-cli/tests/commands.rs
@@ -94,6 +94,7 @@ fn rad_delegate() {
}

#[test]
+
#[ignore]
fn rad_patch() {
    let home = tempfile::tempdir().unwrap();
    let working = tempfile::tempdir().unwrap();