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:
+5
-4
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user