Skip to content

Commit

Permalink
Add new CI test-job for newer Elixir/OTP versions
Browse files Browse the repository at this point in the history
  • Loading branch information
janpieper committed Jul 29, 2024
1 parent 33a2305 commit 372b9d2
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,43 @@ on:
branches: [ master ]

jobs:
test:
name: Build and test
runs-on: ubuntu-latest

strategy:
matrix:
include:
- elixir: '1.14'
otp: '25.0'
- elixir: '1.15'
otp: '25.0'
- elixir: '1.15'
otp: '26.0'
- elixir: '1.16'
otp: '26.0'
- elixir: '1.17'
otp: '26.0'
- elixir: '1.17'
otp: '27.0'

steps:
- uses: actions/checkout@v4
- uses: erlef/setup-beam@v1
with:
otp-version: ${{matrix.otp}}
elixir-version: ${{matrix.elixir}}

- name: Restore dependencies cache
uses: actions/cache@v4
with:
path: deps
key: ${{ runner.os }}-mix-${{ hashFiles('**/mix.lock') }}
restore-keys: ${{ runner.os }}-mix-

- run: mix deps.get
- run: mix test

test-legacy:
name: Build and test
runs-on: ubuntu-18.04
Expand Down

0 comments on commit 372b9d2

Please sign in to comment.