Skip to content

Commit

Permalink
Update CI scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
NelsonVides committed Dec 28, 2023
1 parent c2f9df9 commit 78c55c2
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 52 deletions.
32 changes: 16 additions & 16 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,23 +12,23 @@ jobs:
name: OTP ${{matrix.otp}}
strategy:
matrix:
otp: ['24.0', '23.3', '22.3', '21.3']
runs-on: 'ubuntu-20.04'
otp: ['26.2', '25.3', '24.3']
rebar3: ['3.22.1']
runs-on: 'ubuntu-22.04'
env:
OTPVER: ${{ matrix.otp }}
steps:
- uses: actions/checkout@v2
- uses: ErlGang/setup-erlang@v1.0.0
- uses: actions/checkout@v3
- uses: erlef/setup-beam@v1
with:
otp-version: ${{ matrix.otp }}
- run: make rebar3
- run: make
- run: make test
- run: make dialyzer
if: ${{ matrix.otp == '24.0' }}
- run: make codecov
if: ${{ matrix.otp == '24.0' }}
- run: pip install --user codecov
if: ${{ matrix.otp == '24.0' }}
- run: /home/runner/.local/bin/codecov
if: ${{ matrix.otp == '24.0' }}
otp-version: ${{matrix.otp}}
rebar3-version: ${{matrix.rebar3}}
- run: rebar3 do ct --cover
- run: rebar3 as test codecov analyze
- run: rebar3 dialyzer
if: ${{ matrix.otp == '26.2' }}
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
if: ${{ matrix.otp == '26.2' }}
36 changes: 0 additions & 36 deletions Makefile

This file was deleted.

0 comments on commit 78c55c2

Please sign in to comment.