tests: use github actions instead of circleci for test running
This commit is contained in:
1 parent
3c5a3fdd7c
commit
a7465f9d81
16 files changed
+438
-297
No files matched your search
@@ -23,9 +23,13 @@ teardown() {
|
||||
}
|
||||
|
||||
@test "(client) no args should print help" {
|
||||
run /bin/bash -c "${BATS_TEST_DIRNAME}/../../contrib/dokku_client.sh | head -1 | grep -E 'Usage: dokku \[.+\] COMMAND <app>.*'"
|
||||
# dokku container is not run with a TTY on Github Actions so we don't get normal output
|
||||
# https://github.com/actions/runner/issues/241
|
||||
run /bin/bash -c "${BATS_TEST_DIRNAME}/../../contrib/dokku_client.sh"
|
||||
echo "output: $output"
|
||||
echo "status: $status"
|
||||
assert_output_contains "Manage apps"
|
||||
assert_output_contains "Manage buildpack settings for an app"
|
||||
assert_success
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user