Files
starter-workflows/ci/erlang.yml
T

28 lines
442 B
YAML
Raw Normal View History

2020-03-17 11:17:19 +00:00
name: Erlang CI
on:
push:
2020-07-13 12:12:41 -07:00
branches: [ $default-branch ]
2020-03-17 11:17:19 +00:00
pull_request:
2020-07-13 12:12:41 -07:00
branches: [ $default-branch ]
2020-03-17 11:17:19 +00:00
2022-01-05 09:50:26 -08:00
permissions: read-all
2020-03-17 11:17:19 +00:00
jobs:
build:
2022-01-05 09:50:26 -08:00
permissions:
contents: read # for actions/checkout to fetch code
2020-03-17 11:17:19 +00:00
runs-on: ubuntu-latest
container:
image: erlang:22.0.7
steps:
- uses: actions/checkout@v2
- name: Compile
run: rebar3 compile
- name: Run tests
run: rebar3 do eunit, ct