Skip to content

Commit

Permalink
Only run Dialyzer for most recent OTP version
Browse files Browse the repository at this point in the history
  • Loading branch information
paulo-ferraz-oliveira committed Jun 12, 2024
1 parent 621a09d commit 47c2f3a
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,20 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
otp: ['24', '25']
rebar3: ['3.16.1']
include:
- otp: 27
os: ubuntu-24.04
rebar3: 3.23
dialyzer: true
- otp: 26
os: ubuntu-24.04
rebar3: 3.23
- otp: 25
os: ubuntu-24.04
rebar3: 3.22
- otp: 24
os: ubuntu-24.04
rebar3: 3.22
steps:
- uses: actions/checkout@v2
- uses: erlef/setup-beam@v1
Expand All @@ -23,6 +35,7 @@ jobs:
rebar3-version: ${{matrix.rebar3}}
- name: Static analysis
run: rebar3 dialyzer
if: ${{ matrix.dialyzer == true }}
- name: Common Tests
run: rebar3 ct
- name: Code coverage
Expand Down

0 comments on commit 47c2f3a

Please sign in to comment.