We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 43b61e3 commit 0f974d1Copy full SHA for 0f974d1
test/gpg.bats
@@ -367,7 +367,7 @@ EOF
367
################################################################################
368
369
@test "opens keychain" {
370
- _skip_when_not_macos
+ _skip_if_github_action
371
run pw open
372
assert_success
373
refute_output
test/test-helper.bash
@@ -165,3 +165,7 @@ _skip_manual_test() {
165
skip "Requires user input. Use test/run -m to also run manual tests."
166
fi
167
}
168
+
169
+_skip_if_github_action() {
170
+ [[ "${GITHUB_ACTIONS}" != "true" ]] || skip "$@"
171
+}
0 commit comments