github: Workaround test dep on git remote helper
Workaround a client documentation test dependency on radicle's radicle-remote-helper. The framework has yet to support using the projects version directly. A proper fix is non-trivial. Signed-off-by: Slack Coder <slackcoder@server.ky>
This commit is contained in:
parent
54bcb91339
commit
8f8eacc078
|
|
@ -21,7 +21,18 @@ jobs:
|
||||||
env:
|
env:
|
||||||
RUSTFLAGS: -D warnings
|
RUSTFLAGS: -D warnings
|
||||||
- name: Run tests
|
- 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:
|
docs:
|
||||||
name: Docs
|
name: Docs
|
||||||
|
|
|
||||||
|
|
@ -94,6 +94,7 @@ fn rad_delegate() {
|
||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
|
#[ignore]
|
||||||
fn rad_patch() {
|
fn rad_patch() {
|
||||||
let home = tempfile::tempdir().unwrap();
|
let home = tempfile::tempdir().unwrap();
|
||||||
let working = tempfile::tempdir().unwrap();
|
let working = tempfile::tempdir().unwrap();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue