Co-authored-by: Nick Van Wiggeren <nickvanw@github.com> Co-authored-by: Thomas Osowski <osowskit@github.com> Co-authored-by: Nick Van Wiggeren <nickvanw@users.noreply.github.com> Co-authored-by: Max Schoening <max@max.wtf> Co-authored-by: Steve Winton <stevewinton@gmail.com> Co-authored-by: Tom Osowski <osowskit@github.com> Co-authored-by: Brandon Keepers <bkeepers@github.com> Co-authored-by: Max Schoening <max@github.com> Co-authored-by: Steve Winton <swinton@users.noreply.github.com> Co-authored-by: Guðmundur Bjarni Ólafsson <gudmundur@github.com> Co-authored-by: Mike Coutermarsh <mscoutermarsh@github.com>
15 lines
312 B
Bash
15 lines
312 B
Bash
#!/usr/bin/env bats
|
|
|
|
PATH="$PATH:$BATS_TEST_DIRNAME/bin"
|
|
|
|
function setup() {
|
|
# Ensure GITHUB_WORKSPACE is set
|
|
export GITHUB_WORKSPACE="${GITHUB_WORKSPACE-"${BATS_TEST_DIRNAME}/.."}"
|
|
}
|
|
|
|
@test "entrypoint runs successfully" {
|
|
run $GITHUB_WORKSPACE/entrypoint.sh help
|
|
echo "$output"
|
|
[ "$status" -eq 0 ]
|
|
}
|