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:
summ1else
2021-10-21 17:47:44 -05:00
parent 123166b50e
commit b2414b190f
2 changed files with 4 additions and 2 deletions

2
.gitignore vendored
View File

@@ -15,6 +15,8 @@ Settings.xml
# Testing
luajit/
spec/test_results.log
spec/test_generation.log
src/luacov.stats.out
# Release
manifest-updated.xml

View File

@@ -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