Skip to content

Commit

Permalink
Fix GHA
Browse files Browse the repository at this point in the history
  • Loading branch information
lrascao authored Jul 11, 2024
1 parent 8b7630c commit bc49228
Showing 1 changed file with 31 additions and 9 deletions.
40 changes: 31 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,21 +1,43 @@
name: Erlang CI
name: Common Test

on:
push:
branches: [ develop ]
pull_request:
branches: [ develop ]
branches:
- 'develop'
push:
branches:
- 'develop'

jobs:
build:
runs-on: ubuntu-latest
container:
image: erlang:22.0.7
linux:
name: Test on OTP ${{ matrix.combo.otp-version }} and ${{ matrix.combo.os }}
runs-on: ${{ matrix.combo.os }}

strategy:
fail-fast: false
matrix:
combo:
- os: 'ubuntu-latest'
otp-version: '24'
rebar3-version: '3.16'
- os: 'ubuntu-latest'
otp-version: '25'
rebar3-version: '3.16'
- os: 'ubuntu-latest'
otp-version: '26'
rebar3-version: '3.22.1'

steps:
- uses: actions/checkout@v2
- uses: erlef/setup-beam@v1
with:
otp-version: ${{ matrix.combo.otp-version }}
rebar3-version: ${{ matrix.combo.rebar3-version }}
- name: Update
run: rebar3 update
- name: Compile
run: make compile
- name: Run tests
- name: Test
run: make ci


0 comments on commit bc49228

Please sign in to comment.