fix: Test Environment
This commit is contained in:
2
Rakefile
2
Rakefile
@@ -36,7 +36,7 @@ task :tdd, [:name] do |_, args|
|
|||||||
compose('exec', 'test.dev', "bash -c 'cd #{test_dir}/tests && python3 -m unittest'")
|
compose('exec', 'test.dev', "bash -c 'cd #{test_dir}/tests && python3 -m unittest'")
|
||||||
else
|
else
|
||||||
compose('exec', 'test.dev', "bash -c 'cd modules && flake8 *'")
|
compose('exec', 'test.dev', "bash -c 'cd modules && flake8 *'")
|
||||||
compose('exec', 'test.dev', "bash -c 'python -m unittest discover -s modules'")
|
compose('exec', 'test.dev', "bash -c 'python3 -m unittest discover -s modules'")
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ services:
|
|||||||
test.dev:
|
test.dev:
|
||||||
build:
|
build:
|
||||||
context: .
|
context: .
|
||||||
dockerfile: Dockerfile_Test
|
dockerfile: Dockerfile_test
|
||||||
args:
|
args:
|
||||||
TRYTOND_VERSION: ${TRYTOND_VERSION}
|
TRYTOND_VERSION: ${TRYTOND_VERSION}
|
||||||
environment:
|
environment:
|
||||||
|
|||||||
Reference in New Issue
Block a user