Skip to content

Commit

Permalink
ci/cd: ignore local tests
Browse files Browse the repository at this point in the history
Signed-off-by: Maharshi Basu <[email protected]>
  • Loading branch information
MashyBasker committed Jun 22, 2024
1 parent 5a1ba0f commit f2cab6e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ jobs:
- name: Build
run: cargo build --verbose
- name: Test
run: cargo test --verbose -- --skip test_get_filename
run: cargo test --verbose
2 changes: 2 additions & 0 deletions src/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ mod tests {
use super::*;

#[test]
#[ignore]
fn test_get_filename() {
assert_eq!(
write_filepath("/home/okabe/projects/txtplus/testdata/mock/test.txt"),
Expand All @@ -55,6 +56,7 @@ mod tests {
}

#[test]
#[ignore]
fn test_abspath() {
assert_eq!(
abspath("~/projects"),
Expand Down

0 comments on commit f2cab6e

Please sign in to comment.