Minor tweak to docker compose and ignore files to be able to view test results during build and to output the test generation logs as well.
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@@ -15,6 +15,8 @@ Settings.xml
|
||||
# Testing
|
||||
luajit/
|
||||
spec/test_results.log
|
||||
spec/test_generation.log
|
||||
src/luacov.stats.out
|
||||
|
||||
# Release
|
||||
manifest-updated.xml
|
||||
|
||||
@@ -4,7 +4,7 @@ services:
|
||||
busted-tests:
|
||||
image: summ1else/poe-busted-image
|
||||
container_name: busted-tests
|
||||
command: bash -c "rm -f spec/test_results.log && busted --lua=luajit > spec/test_results.log"
|
||||
command: bash -c "rm -f spec/test_results.log && busted --lua=luajit | tee spec/test_results.log"
|
||||
volumes:
|
||||
- ./:/root
|
||||
depends_on:
|
||||
@@ -13,7 +13,7 @@ services:
|
||||
busted-generate-build:
|
||||
image: summ1else/poe-busted-image
|
||||
container_name: busted-generate-build
|
||||
command: busted --lua=luajit -r generate
|
||||
command: bash -c "rm -f spec/test_generation.log && busted --lua=luajit -r generate | tee spec/test_generation.log"
|
||||
restart: "no"
|
||||
volumes:
|
||||
- ./:/root
|
||||
|
||||
Reference in New Issue
Block a user