Skip to content

Commit

Permalink
Ignore networked tests
Browse files Browse the repository at this point in the history
This is so that build farms that don't have network access can still run
the other tests.

NixOS/nixpkgs#95830 (comment)
  • Loading branch information
NilsIrl committed Aug 20, 2020
1 parent 5800734 commit d14d127
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,4 @@ jobs:
- uses: actions/checkout@v2
- run: cargo build
- run: cargo test
- run: cargo test -- --ignored
1 change: 1 addition & 0 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -590,6 +590,7 @@ mod tests {
}

#[test]
#[ignore]
fn test_ipv4_gateway() {
let relays: Relays = reqwest::blocking::get("https://api.mullvad.net/app/v1/relays")
.unwrap()
Expand Down

0 comments on commit d14d127

Please sign in to comment.