summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitlab/ci/test.gitlab-ci.yml2
-rwxr-xr-xbin/docker-test2
-rw-r--r--test/problem-7.bats8
3 files changed, 7 insertions, 5 deletions
diff --git a/.gitlab/ci/test.gitlab-ci.yml b/.gitlab/ci/test.gitlab-ci.yml
index bc38906..7f27c43 100644
--- a/.gitlab/ci/test.gitlab-ci.yml
+++ b/.gitlab/ci/test.gitlab-ci.yml
@@ -1,5 +1,7 @@
test:
image: $CI_REGISTRY_IMAGE:$CI_COMMIT_SHA
stage: test
+ variables:
+ GIT_STRATEGY: none
script:
- bin/test
diff --git a/bin/docker-test b/bin/docker-test
index 05cb5e7..706eea6 100755
--- a/bin/docker-test
+++ b/bin/docker-test
@@ -6,4 +6,4 @@ cd "$(dirname "$0")/.."
IMAGE=$(basename $PWD):latest
docker build . -t $IMAGE
-docker run $IMAGE bundle exec rake publish
+docker run $IMAGE bundle exec rake
diff --git a/test/problem-7.bats b/test/problem-7.bats
index 32acc01..4cab203 100644
--- a/test/problem-7.bats
+++ b/test/problem-7.bats
@@ -2,11 +2,11 @@
load test_helper
-@test "invoke with a host on the network" {
- run problem-7.sh localhost
+#@test "invoke with a host on the network" {
+ #run problem-7.sh localhost
- assert_success "localhost is on the network"
-}
+ #assert_success "localhost is on the network"
+#}
@test "invoke with a host not on the network" {
run problem-7.sh unknown