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.
This commit is contained in:
Tristan Sloughter
2019-08-20 14:32:36 -06:00
parent b32cad54d6
commit e74b1236d2
+5 -4
View File
@@ -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