From e74b1236d205e5b14769d9fa8a3a58e965abdb74 Mon Sep 17 00:00:00 2001 From: Tristan Sloughter Date: Tue, 20 Aug 2019 14:32:36 -0600 Subject: [PATCH] update Erlang workflow to rebar3 rebar3 no longer has a separate step for fetching dependencies so this step is removed. Common Test is enabled in the test run so it will run all tests. The Erlang docker image is used instead of ubuntu because ubuntu has no package for rebar3. --- ci/erlang.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/ci/erlang.yml b/ci/erlang.yml index 7514455..e67464c 100644 --- a/ci/erlang.yml +++ b/ci/erlang.yml @@ -8,11 +8,12 @@ jobs: runs-on: ubuntu-latest + container: + image: erlang:22.0.7 + steps: - uses: actions/checkout@v1 - - name: Install dependencies - run: rebar get-deps - name: Compile - run: rebar compile + run: rebar3 compile - name: Run tests - run: rebar skip_deps=true eunit + run: rebar3 do eunit, ct