Skip to content

Commit

Permalink
Add GitHub CI
Browse files Browse the repository at this point in the history
  • Loading branch information
seriyps committed Dec 7, 2023
1 parent 4e96593 commit 7aee165
Showing 1 changed file with 43 additions and 0 deletions.
43 changes: 43 additions & 0 deletions .github/workflows/ci.yml
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

0 comments on commit 7aee165

Please sign in to comment.