Skip to content

Commit

Permalink
Update CI
Browse files Browse the repository at this point in the history
  • Loading branch information
paulo-ferraz-oliveira committed Jul 27, 2023
1 parent 1b542a5 commit 1d9b01c
Showing 1 changed file with 21 additions and 7 deletions.
28 changes: 21 additions & 7 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,32 @@ jobs:
runs-on: ${{ matrix.os }}

strategy:
fail-fast: false
matrix:
otp_version: ['24', '23', '22', '21']
os: [ubuntu-latest]
include:
- otp_version: 26
os: ubuntu-22.04
rebar3_version: 3.22
- otp_version: 25
os: ubuntu-22.04
rebar3_version: 3.22
- otp_version: 24
os: ubuntu-22.04
rebar3_version: 3.22
- otp_version: 23
os: ubuntu-20.04
rebar3_version: 3.18
- otp_version: 22
os: ubuntu-20.04
rebar3_version: 3.18

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- uses: erlef/setup-beam@v1
with:
otp-version: ${{ matrix.otp_version }}
rebar3-version: '3.14'
rebar3-version: ${{ matrix.rebar3_version }}

- name: Compile
run: rebar3 compile
Expand All @@ -36,9 +51,8 @@ jobs:
run: rebar3 xref

- name: Covertool
if: ${{ always() }}
run: rebar3 covertool generate
- uses: codecov/codecov-action@v1
- uses: codecov/codecov-action@v3
with:
file: _build/test/covertool/elli.covertool.xml
files: _build/test/covertool/elli.covertool.xml
env_vars: OTP_VERSION

0 comments on commit 1d9b01c

Please sign in to comment.