Initial commit
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>
This commit is contained in:
2
test/bin/heroku
Executable file
2
test/bin/heroku
Executable file
@@ -0,0 +1,2 @@
|
||||
#!/bin/sh
|
||||
echo "Simulate Docker"
|
||||
14
test/entrypoint.bats
Normal file
14
test/entrypoint.bats
Normal file
@@ -0,0 +1,14 @@
|
||||
#!/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 ]
|
||||
}
|
||||
Reference in New Issue
Block a user