Skip to content

Commit

Permalink
ci: exclude integration tests
Browse files Browse the repository at this point in the history
test: ignore tests that depend on the local
filesystem
  • Loading branch information
ValuedMammal committed Feb 18, 2025
1 parent 47f514e commit f8e913c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- name: Rustfmt
run: cargo fmt --all -- --check
- name: Clippy
run: cargo clippy --all-targets --all-features -- -Dwarnings
run: cargo clippy -- -Dwarnings

test:
runs-on: ubuntu-latest
Expand Down
2 changes: 2 additions & 0 deletions src/taproot.rs
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ mod test {
use std::env;

#[test]
#[ignore = "depends on local file system"]
fn test_ord() {
let cwd = env::var("CARGO_MANIFEST_DIR").unwrap();
let path_to_rawtx = format!("{cwd}/tests/rawtx1.dat");
Expand All @@ -93,6 +94,7 @@ mod test {
}

#[test]
#[ignore = "depends on local file system"]
fn captures_from_rawtx_file() {
// get raw tx from txid
// txid: e85602c03f9566bab21246e9fa16f0039c887a70d2f2e79147f4770f6ced5ac5
Expand Down

0 comments on commit f8e913c

Please sign in to comment.