From b2414b190f8fe8fb350fa718af6e8dcc795a7509 Mon Sep 17 00:00:00 2001 From: summ1else Date: Thu, 21 Oct 2021 17:47:44 -0500 Subject: [PATCH] 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. --- .gitignore | 2 ++ docker-compose.yml | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index abc29753..51786895 100644 --- a/.gitignore +++ b/.gitignore @@ -15,6 +15,8 @@ Settings.xml # Testing luajit/ spec/test_results.log +spec/test_generation.log +src/luacov.stats.out # Release manifest-updated.xml diff --git a/docker-compose.yml b/docker-compose.yml index 626e6408..ebb2a04a 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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