Skip to content

Commit acb4b13

Browse files
committed
Skip gpg open test
1 parent 8f950b0 commit acb4b13

File tree

2 files changed

+2
-15
lines changed

2 files changed

+2
-15
lines changed

test/gpg.bats

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -366,8 +366,9 @@ EOF
366366
# open
367367
################################################################################
368368

369+
# bats test_tags=tag:manual_test
369370
@test "opens keychain" {
370-
_skip_if_github_action
371+
_skip_manual_test "Opens folder in finder"
371372
run pw open
372373
assert_success
373374
refute_output

test/test-helper.bash

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -154,24 +154,10 @@ EOF
154154
refute_output
155155
}
156156

157-
_skip_when_not_macos() {
158-
[[ "${OSTYPE}" == "darwin"* ]] || skip "Not macOS"
159-
}
160-
161157
_skip_manual_test() {
162158
if [[ -v PW_TEST_RUN_MANUAL_TESTS ]]; then
163159
echo "# Please enter $1" >&3
164160
else
165161
skip "Requires user input. Use test/run -m to also run manual tests."
166162
fi
167163
}
168-
169-
_skip_if_github_action() {
170-
echo "Debug PWD: ${PWD}"
171-
if [[ "${PWD}" != *"/runner/work/"* ]]; then
172-
echo "NOT SKIPPING"
173-
else
174-
echo "SKIPPING"
175-
skip "$@"
176-
fi
177-
}

0 commit comments

Comments
 (0)