Skip to content

Commit 27fa81b

Browse files
authored
Merge pull request #105 from marceldegraaf/fix/ci-matrix
Fix CI matrix
2 parents 39a0802 + ab47fbd commit 27fa81b

File tree

1 file changed

+22
-19
lines changed

1 file changed

+22
-19
lines changed

.github/workflows/elixir.yml

+22-19
Original file line numberDiff line numberDiff line change
@@ -8,22 +8,25 @@ jobs:
88
strategy:
99
fail-fast: false
1010
matrix:
11-
include:
12-
- elixir: 1.13.4
13-
otp: 24.2
14-
test-options: "--warnings-as-errors"
15-
- elixir: 1.13.4
16-
otp: 24.2
17-
unlock: true
18-
test-options: "--warnings-as-errors"
19-
- elixir: 1.14.4
20-
otp: 25.3
21-
unlock: true
22-
test-options: "--warnings-as-errors"
23-
- elixir: 1.14.4
24-
otp: 25.3
25-
unlock: true
26-
test-options: "--warnings-as-errors"
11+
unlock: [true, false]
12+
elixir: [ "1.13", "1.14", "1.15", "1.16", "1.17", "1.18" ]
13+
otp: [ 24, 25, 26, 27 ]
14+
exclude:
15+
- elixir: "1.13"
16+
otp: 26
17+
- elixir: "1.13"
18+
otp: 27
19+
- elixir: "1.14"
20+
otp: 27
21+
- elixir: "1.15"
22+
otp: 27
23+
- elixir: "1.16"
24+
otp: 27
25+
- elixir: "1.17"
26+
otp: 24
27+
- elixir: "1.18"
28+
otp: 24
29+
2730

2831
name: OTP ${{matrix.otp}} / Elixir ${{matrix.elixir}} / ${{matrix.unlock}}
2932
runs-on: ubuntu-latest
@@ -40,7 +43,7 @@ jobs:
4043
if: ${{ matrix.unlock }}
4144
- run: mix deps.get --only test
4245
- run: mix compile --warnings-as-errors
43-
- run: mix test ${{ matrix.test-options }}
46+
- run: mix test --warnings-as-errors
4447

4548
lint:
4649
name: Run lint & format checks
@@ -50,8 +53,8 @@ jobs:
5053
- name: Set up Elixir
5154
uses: erlef/setup-beam@v1
5255
with:
53-
elixir-version: '1.14.4' # Define the elixir version [required]
54-
otp-version: '25.3' # Define the OTP version [required]
56+
elixir-version: '1.18'
57+
otp-version: '27'
5558
- name: Restore dependencies cache
5659
uses: actions/cache@v4.2.0
5760
with:

0 commit comments

Comments
 (0)