-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
43 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
name: CI checks | ||
on: | ||
push: | ||
branches: | ||
- '*' | ||
pull_request: | ||
branches: | ||
- master | ||
jobs: | ||
build: | ||
strategy: | ||
matrix: | ||
platform: [ubuntu-latest] | ||
otp-version: | ||
- "22.3" | ||
- "23.3" | ||
- "24.3" | ||
- "25.3" | ||
- "26" | ||
runs-on: ${{ matrix.platform }} | ||
container: | ||
image: erlang:${{ matrix.otp-version }} | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
|
||
- name: Compile | ||
run: rebar3 compile | ||
|
||
- name: Run Proper Tests | ||
run: rebar3 proper -c | ||
|
||
- name: Coverage | ||
run: rebar3 cover --verbose --min_coverage 80 | ||
|
||
- name: Run Xref | ||
run: rebar3 xref | ||
|
||
- name: Generate Documentation | ||
run: rebar3 edoc | ||
|
||
- name: Run dialyzer | ||
run: rebar3 dialyzer |