From a84ff50223f7df081247c122d8566bf91f036be5 Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Thu, 20 Feb 2020 00:22:14 -0500 Subject: [PATCH] fix: Remove -it from BATS testing Interactive shell doesn't seem to work on Actions --- test-image.bats | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test-image.bats b/test-image.bats index 0ed16486..b424b95a 100755 --- a/test-image.bats +++ b/test-image.bats @@ -1,17 +1,17 @@ #!/usr/bin/env bats @test "Test for node and version" { - run docker run --rm -it node:"$full_tag" node -e "process.stdout.write(process.versions.node)" + run docker run --rm node:"$full_tag" node -e "process.stdout.write(process.versions.node)" [ "$status" -eq 0 ] [ "$output" == "${full_version}" ] } @test "Test for npm" { - run docker run --rm -it node:"$full_tag" npm --version + run docker run --rm node:"$full_tag" npm --version [ "$status" -eq 0 ] } @test "Test for yarn" { - run docker run --rm -it node:"$full_tag" yarn --version + run docker run --rm node:"$full_tag" yarn --version [ "$status" -eq 0 ] }