Skip to content
This repository has been archived by the owner on Jul 5, 2024. It is now read-only.

Commit

Permalink
Skip test which depends on os version
Browse files Browse the repository at this point in the history
  • Loading branch information
caesay committed Dec 22, 2023
1 parent 81a0ba7 commit 5f8abcb
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
5 changes: 0 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,6 @@ jobs:
with:
fetch-depth: 0

- name: Setup .NET 6
uses: actions/setup-dotnet@v1
with:
dotnet-version: 6.0.x

- name: Setup .NET 8
uses: actions/setup-dotnet@v1
with:
Expand Down
1 change: 1 addition & 0 deletions src/Rust/src/platform/windows/util.rs
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,7 @@ pub fn is_os_version_or_greater(version: &str) -> Result<bool> {
}

#[test]
#[ignore]
pub fn test_os_returns_true_for_everything_on_windows_11_and_below() {
assert!(is_os_version_or_greater("6").unwrap());
assert!(is_os_version_or_greater("7").unwrap());
Expand Down

0 comments on commit 5f8abcb

Please sign in to comment.