From 35f6ff0ccfe751b2e1e500e27ed61caab791f9cd Mon Sep 17 00:00:00 2001 From: Keijo Raamat Date: Thu, 30 Sep 2021 12:33:26 +0300 Subject: [PATCH] Run tests --- .github/workflows/run-automatest-tests.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/run-automatest-tests.yml b/.github/workflows/run-automatest-tests.yml index 694b989..62e3250 100644 --- a/.github/workflows/run-automatest-tests.yml +++ b/.github/workflows/run-automatest-tests.yml @@ -18,7 +18,13 @@ jobs: run: docker exec -i tester rebar3 as test get-deps - name: Integrated Ruby app setup - run: docker exec -i tester bash -l -c "cd apps/epp_proxy/priv/test_backend_app && bundle install && bundle exec rackup" + run: docker exec tester bash -l -c "cd apps/epp_proxy/priv/test_backend_app && bundle install && bundle exec rackup" - name: Compile for tests - run: docker exec -i tester rebar3 as test compile \ No newline at end of file + run: | + sleep 15 + docker exec -i tester rebar3 as test compile + + - name: Run tests + run: | + docker exec -i tester DEBUG=1 rebar3 ct --sys_config config/test.config --readable=false --cover --verbose=true && rebar3 cover --verbose \ No newline at end of file