Skip to content

Commit

Permalink
skip this test on gha
Browse files Browse the repository at this point in the history
Signed-off-by: clux <sszynrae@gmail.com>
  • Loading branch information
clux committed Sep 6, 2023
1 parent 71ae557 commit be62a82
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion test/yq.test.bats
Original file line number Diff line number Diff line change
@@ -1,9 +1,14 @@
#!/usr/bin/env bats

@test "stdin_or_file" {
@test "stdin" {
run yq -y '.[2].kind' < test/deploy.yaml
echo "$output" && echo "$output" | grep "ClusterRoleBinding"
}

@test "file" {
if [[ "${CI}" =~ "true" ]]; then
skip # isTerminal seems to do the wrong thing on github actions..
fi
yq -y '.[2].kind' test/deploy.yaml
run yq -y '.[2].kind' test/deploy.yaml
echo "$output" && echo "$output" | grep "ClusterRoleBinding"
Expand Down

0 comments on commit be62a82

Please sign in to comment.