e74b1236d2
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.
20 lines
278 B
YAML
20 lines
278 B
YAML
name: Erlang CI
|
|
|
|
on: [push]
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
container:
|
|
image: erlang:22.0.7
|
|
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
- name: Compile
|
|
run: rebar3 compile
|
|
- name: Run tests
|
|
run: rebar3 do eunit, ct
|