Skip to content

Commit 8d71259

Browse files
committed
Fix github actions run and remove the docker container after test
Not sure why the docker container was started with "-it", but the CI run on Github Actions failed like so: TestEnvironmentVariables::AsIfContinuousIntegration: the input device is not a TTY test_RAKE_EXTENSION_TASK_NO_NATIVE: F =============================================================================== Failure: test_RAKE_EXTENSION_TASK_NO_NATIVE(TestEnvironmentVariables::AsIfContinuousIntegration) /home/runner/work/rake-compiler-dock/rake-compiler-dock/test/test_environment_variables.rb:35:in `test_RAKE_EXTENSION_TASK_NO_NATIVE' 32: end 33: 34: def test_RAKE_EXTENSION_TASK_NO_NATIVE => 35: assert_equal "true", rcd_env['RAKE_EXTENSION_TASK_NO_NATIVE'] 36: end 37: 38: def test_symlink_rake_compiler <"true"> expected but was <nil>
1 parent 4c1b6ef commit 8d71259

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/test_environment_variables.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ class AsIfContinuousIntegration < Test::Unit::TestCase
7575
include Common
7676

7777
def invocation(command)
78-
"docker run -it #{TEST_IMAGE_NAME} bash -c '#{command}'"
78+
"docker run --rm #{TEST_IMAGE_NAME} bash -c '#{command}'"
7979
end
8080
end
8181
end

0 commit comments

Comments
 (0)