chore: skip linux only tests on non-linux platforms (#912)

This commit is contained in:
Greg Magolan 2024-08-19 18:26:12 -04:00 committed by GitHub
parent 73d021fb36
commit 9b87fa7050
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 0 deletions

View File

@ -137,6 +137,7 @@ platform_transition_test(
# only run this test on x86_64 platforms # only run this test on x86_64 platforms
target_compatible_with = [ target_compatible_with = [
"@platforms//cpu:x86_64", "@platforms//cpu:x86_64",
"@platforms//os:linux",
], ],
target_platform = "x86_64_linux", target_platform = "x86_64_linux",
) )
@ -147,6 +148,7 @@ platform_transition_test(
# only run this test on arm64 platforms # only run this test on arm64 platforms
target_compatible_with = [ target_compatible_with = [
"@platforms//cpu:arm64", "@platforms//cpu:arm64",
"@platforms//os:linux",
], ],
target_platform = "arm64_linux", target_platform = "arm64_linux",
) )