mirror of
https://github.com/velopack/velopack.git
synced 2025-10-25 15:19:22 +00:00
Skip test which depends on os version
This commit is contained in:
5
.github/workflows/build.yml
vendored
5
.github/workflows/build.yml
vendored
@@ -10,11 +10,6 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
- name: Setup .NET 6
|
|
||||||
uses: actions/setup-dotnet@v1
|
|
||||||
with:
|
|
||||||
dotnet-version: 6.0.x
|
|
||||||
|
|
||||||
- name: Setup .NET 8
|
- name: Setup .NET 8
|
||||||
uses: actions/setup-dotnet@v1
|
uses: actions/setup-dotnet@v1
|
||||||
with:
|
with:
|
||||||
|
|||||||
@@ -241,6 +241,7 @@ pub fn is_os_version_or_greater(version: &str) -> Result<bool> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
|
#[ignore]
|
||||||
pub fn test_os_returns_true_for_everything_on_windows_11_and_below() {
|
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("6").unwrap());
|
||||||
assert!(is_os_version_or_greater("7").unwrap());
|
assert!(is_os_version_or_greater("7").unwrap());
|
||||||
|
|||||||
Reference in New Issue
Block a user