Skip to content

Commit

Permalink
Don't run doctests on Windows CI (#416)
Browse files Browse the repository at this point in the history
* don't run doctests on windows CI

* CI Testing
  • Loading branch information
yeastplume committed May 23, 2020
1 parent 2769436 commit 586a72d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions api/src/foreign.rs
Original file line number Diff line number Diff line change
Expand Up @@ -420,6 +420,11 @@ macro_rules! doctest_helper_setup_doc_env_foreign {
use impls::{DefaultLCProvider, DefaultWalletImpl, HTTPNodeClient};
use libwallet::{BlockFees, IssueInvoiceTxArgs, Slate, WalletInst};

// don't run on windows CI, which gives very inconsistent results
if cfg!(windows) {
return;
}

let dir = tempdir().map_err(|e| format!("{:#?}", e)).unwrap();
let dir = dir
.path()
Expand Down
5 changes: 5 additions & 0 deletions api/src/owner.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2126,6 +2126,11 @@ macro_rules! doctest_helper_setup_doc_env {

use uuid::Uuid;

// don't run on windows CI, which gives very inconsistent results
if cfg!(windows) {
return;
}

let dir = tempdir().map_err(|e| format!("{:#?}", e)).unwrap();
let dir = dir
.path()
Expand Down

0 comments on commit 586a72d

Please sign in to comment.