Skip to content

Commit

Permalink
chore: support elixir 1.17-otp-27
Browse files Browse the repository at this point in the history
  • Loading branch information
cottinisimone committed Sep 17, 2024
1 parent bc15adf commit 966612e
Showing 1 changed file with 19 additions and 7 deletions.
26 changes: 19 additions & 7 deletions .github/workflows/elixir.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,26 +12,38 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
otp_version: ['24', '25', '26']
elixir_version: ['1.14', '1.15', '1.16']
version: [
{ elixir: '1.14', otp: '23' },
{ elixir: '1.14', otp: '24' },
{ elixir: '1.14', otp: '25' },
{ elixir: '1.15', otp: '24' },
{ elixir: '1.15', otp: '25' },
{ elixir: '1.15', otp: '26' },
{ elixir: '1.16', otp: '24' },
{ elixir: '1.16', otp: '25' },
{ elixir: '1.16', otp: '26' },
{ elixir: '1.17', otp: '25' },
{ elixir: '1.17', otp: '26' },
{ elixir: '1.17', otp: '27' }
]
steps:
- uses: actions/checkout@v3
- name: Set up Elixir
uses: erlef/setup-beam@v1
with:
otp-version: ${{ matrix.otp_version }}
elixir-version: ${{ matrix.elixir_version }}
otp-version: ${{ matrix.version.otp }}
elixir-version: ${{ matrix.version.elixir }}
- name: Restore dependencies cache
uses: actions/cache@v3
with:
path: deps
key: ${{ runner.os }}-otp-${{ matrix.otp_version }}-mix-${{ hashFiles('**/mix.lock') }}
restore-keys: ${{ runner.os }}-otp-${{ matrix.otp_version }}-mix-
key: ${{ runner.os }}-otp-${{ matrix.version.otp }}-mix-${{ hashFiles('**/mix.lock') }}
restore-keys: ${{ runner.os }}-otp-${{ matrix.version.otp }}-mix-
- name: Install dependencies
run: mix do deps.get, deps.compile
- name: Run tests
run: mix test --cover
- uses: codecov/codecov-action@v3
with:
files: ./coverage.xml
flags: elixir-${{ matrix.elixir_version }},otp-${{ matrix.otp_version }}
flags: elixir-${{ matrix.version.elixir }},otp-${{ matrix.version.otp }}

0 comments on commit 966612e

Please sign in to comment.