Skip to content

Commit

Permalink
Minor tweak to docker compose and ignore files to be able to view tes…
Browse files Browse the repository at this point in the history
…t results during build and to output the test generation logs as well.
  • Loading branch information
summ1else committed Oct 21, 2021
1 parent 123166b commit b2414b1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ Settings.xml
# Testing
luajit/
spec/test_results.log
spec/test_generation.log
src/luacov.stats.out

# Release
manifest-updated.xml
Expand Down
4 changes: 2 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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

0 comments on commit b2414b1

Please sign in to comment.