Skip to content

Commit

Permalink
Add support for Elixir 1.16 in CI (#196)
Browse files Browse the repository at this point in the history
* Add support for Elixir 1.16 in CI

* Actually run the tests on every version

* Explictly specify versions per Jason
  • Loading branch information
s3cur3 authored May 14, 2024
1 parent c1aa4f8 commit 5484c6d
Show file tree
Hide file tree
Showing 3 changed files with 50 additions and 28 deletions.
70 changes: 46 additions & 24 deletions .github/workflows/elixir-build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,30 +17,53 @@ jobs:
PGPASSWORD: postgres
strategy:
matrix:
elixir: ["1.11.4", "1.12.3", "1.13.4", "1.14.4", "1.15.5"]
otp: ["22.3", "23.3.4", "24.3.4", "25.3.2", "26.0.2"]
exclude:
# Elixir 1.11 doesn't support the latest OTP
- elixir: "1.11.4"
otp: "25.3.2"
- elixir: "1.11.4"
otp: "26.0.2"
# Elixir 1.12 doesn't support the latest OTP
- elixir: "1.12.3"
otp: "25.3.2"
- elixir: "1.12.3"
otp: "26.0.2"
# Elixir 1.13 doesn't support the latest OTP
- elixir: "1.13.4"
otp: "26.0.2"
# Elixir 1.14 requires at least OTP 23
- elixir: "1.14.4"
otp: "22.3"
include:
# Elixir 1.11 doesn't support OTP 25+
- elixir: '1.11.4'
otp: '22.3'
- elixir: '1.11.4'
otp: '23.3.4'
- elixir: '1.11.4'
otp: '24.3.4'
# Elixir 1.12 doesn't support OTP 25+
- elixir: '1.12.3'
otp: '22.3'
- elixir: '1.12.3'
otp: '23.3.4'
- elixir: '1.12.3'
otp: '24.3.4'
# Elixir 1.13 doesn't support OTP 26+
- elixir: '1.13.4'
otp: '22.3'
- elixir: '1.13.4'
otp: '23.3.4'
- elixir: '1.13.4'
otp: '24.3.4'
- elixir: '1.13.4'
otp: '25.3.2'
# Elixir 1.14 requires at least OTP 23
- elixir: '1.14.4'
otp: '23.3.4'
- elixir: '1.14.4'
otp: '24.3.4'
- elixir: '1.14.4'
otp: '25.3.2'
- elixir: '1.14.4'
otp: '26.2.5'
# Elixir 1.15 requires at least OTP 24
- elixir: "1.15.5"
otp: "22.3"
- elixir: "1.15.5"
otp: "23.3.4"
- elixir: '1.15.5'
otp: '24.3.4'
- elixir: '1.15.5'
otp: '25.3.2'
- elixir: '1.15.5'
otp: '26.2.5'
# Elixir 1.16 requires at least OTP 24
- elixir: '1.16.2'
otp: '24.3.4'
- elixir: '1.16.2'
otp: '25.3.2'
- elixir: '1.16.2'
otp: '26.2.5'

services:
db:
Expand Down Expand Up @@ -75,5 +98,4 @@ jobs:
run: mix test --warnings-as-errors

- name: Run tests
if: ${{ matrix.elixir == '1.11.4' }}
run: mix test
4 changes: 2 additions & 2 deletions .github/workflows/elixir-quality-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ jobs:
# test stuff that isn't really relevant.
# The other checks don't really care what environment they run in.
MIX_ENV: dev
elixir: "1.15.4"
otp: "26.0.2"
elixir: "1.16.2"
otp: "26.1.2"

steps:
- name: Checkout repository
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/elixir-retired-packages-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ jobs:
runs-on: ubuntu-latest
env:
MIX_ENV: dev
elixir: "1.15.4"
otp: "26.0.2"
elixir: "1.16.2"
otp: "26.1.2"

steps:
- name: Checkout repository
Expand Down

0 comments on commit 5484c6d

Please sign in to comment.