mirror of
https://github.com/google-github-actions/setup-gcloud.git
synced 2026-08-28 19:29:22 +00:00
Co-authored-by: Thomas Osowski <osowskit@github.com> Co-authored-by: Tom Osowski <osowskit@github.com> Co-authored-by: Nick Van Wiggeren <nickvanw@github.com> Co-authored-by: Brandon Keepers <bkeepers@github.com> Co-authored-by: Nick Van Wiggeren <nickvanw@users.noreply.github.com> Co-authored-by: Steve Winton <stevewinton@gmail.com> Co-authored-by: Steve Winton <swinton@users.noreply.github.com> Co-authored-by: Greg Orzell <gorzell@users.noreply.github.com> Co-authored-by: Greg Orzell <gorzell@github.com>
15 lines
248 B
Bash
15 lines
248 B
Bash
#!/usr/bin/env bats
|
|
|
|
PATH="$PATH:$BATS_TEST_DIRNAME/bin"
|
|
|
|
function setup() {
|
|
# Ensure GITHUB_WORKSPACE is set
|
|
export GITHUB_WORKSPACE="."
|
|
}
|
|
|
|
@test "entrypoint runs successfully" {
|
|
ls
|
|
run gcloud help
|
|
echo "$output"
|
|
[ "$status" -eq 0 ]
|
|
}
|