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 24d2380 commit e6892ac
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,17 @@ jobs:
runs-on: ubuntu-24.04
strategy:
matrix:
otp: ['25', '26', '27']
rebar3: ['3.23.0']
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.23
steps:
- uses: actions/checkout@v4
- uses: erlef/setup-beam@v1
Expand All @@ -23,6 +32,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 e6892ac

Please sign in to comment.