From c662c8d74c89257aa4854b66b5df2636d057c8cc Mon Sep 17 00:00:00 2001 From: Keijo Raamat Date: Wed, 29 Sep 2021 15:35:00 +0300 Subject: [PATCH] Install rebar3 --- .github/workflows/erlang.yml | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/.github/workflows/erlang.yml b/.github/workflows/erlang.yml index 4f6478c..6a4690f 100644 --- a/.github/workflows/erlang.yml +++ b/.github/workflows/erlang.yml @@ -20,22 +20,25 @@ jobs: ruby-version: ${{ matrix.ruby }} bundler-cache: true # runs 'bundle install' and caches installed gems automatically + - name: Get rebar3 + run: wget https://s3.amazonaws.com/rebar3/rebar3 && chmod +x rebar3 + - name: Rebar version - run: rebar3 --version - + run: ./rebar3 --version + - name: Install rebar dependencies - run: rebar3 as test get-deps + run: ./rebar3 as test get-deps - name: Integrated Ruby app setup run: | - rebar3 as test get-deps + ./rebar3 as test get-deps /bin/bash -l -c "cd apps/epp_proxy/priv/test_backend_app && bundle install" - name: Run tests run: | /bin/bash -l -c "cd apps/epp_proxy/priv/test_backend_app && bundle exec rackup --pid pidfile -D" - rebar3 as test compile + ./rebar3 as test compile DEBUG=1 rebar3 ct --sys_config config/test.config --readable=false --cover --verbose=true - rebar3 cover --verbose + ./rebar3 cover --verbose # - run: rebar3 eunit \ No newline at end of file