Skip to content

Commit e55cf62

Browse files
author
riccardo manfrin
committed
CI to check dialyzer
1 parent 40e7c63 commit e55cf62

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/main.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,11 @@ jobs:
1616
uses: actions/checkout@v3
1717
- name: Build
1818
run: rebar3 compile
19+
- name: Dialyzer
20+
run: |
21+
rebar3 dialyzer || true
22+
WARNINGS=$(cat _build/default/*.dialyzer_warnings | grep -e '^$' | wc -l)
23+
if [ ${WARNINGS} -gt 89 ]; then exit -1; fi
1924
- name: Run tests
2025
run: |
2126
rebar3 do xref, ct

0 commit comments

Comments
 (0)