Switch to GHA
This commit is contained in:
parent
489d89fb16
commit
f726f81bde
2 changed files with 23 additions and 6 deletions
23
.github/workflows/erlang.yml
vendored
Normal file
23
.github/workflows/erlang.yml
vendored
Normal file
|
@ -0,0 +1,23 @@
|
||||||
|
name: Erlang CI
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: [ develop-3.0 ]
|
||||||
|
pull_request:
|
||||||
|
branches: [ develop-3.0 ]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
|
||||||
|
build:
|
||||||
|
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
container:
|
||||||
|
image: erlang:22.3.3
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- name: Compile
|
||||||
|
run: rebar3 compile
|
||||||
|
- name: Run tests
|
||||||
|
run: rebar3 do xref, dialyzer, eunit
|
|
@ -1,6 +0,0 @@
|
||||||
language: erlang
|
|
||||||
otp_release:
|
|
||||||
- 20.3.8
|
|
||||||
script:
|
|
||||||
- chmod u+x rebar3
|
|
||||||
- ./rebar3 do upgrade, compile, dialyzer, xref, eunit
|
|
Loading…
Add table
Add a link
Reference in a new issue