-
Notifications
You must be signed in to change notification settings - Fork 3
47 lines (45 loc) · 1.1 KB
/
mix_test.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
name: mix test
on:
push:
paths-ignore:
- README.md
- .gitignore
branches:
- master
- dev/*
pull_request:
branches:
- master
jobs:
# Refactoring duplicated yaml is currently not possible
# because Github does not support anchor syntax (& and *) now.
elixir_1_14:
runs-on: ubuntu-20.04
name: Test on Elixir ${{matrix.elixir}} / OTP ${{matrix.otp}}
strategy:
matrix:
elixir: [1.14.x]
otp: [24.x, 25.x]
steps:
- uses: actions/checkout@v2
- uses: erlef/setup-beam@v1
with:
elixir-version: ${{matrix.elixir}}
otp-version: ${{matrix.otp}}
- run: mix deps.get
- run: mix test
elixir_1_13:
runs-on: ubuntu-20.04
name: Test on Elixir ${{matrix.elixir}} / OTP ${{matrix.otp}}
strategy:
matrix:
elixir: [1.13.x]
otp: [23.x, 24.x]
steps:
- uses: actions/checkout@v2
- uses: erlef/setup-beam@v1
with:
elixir-version: ${{matrix.elixir}}
otp-version: ${{matrix.otp}}
- run: mix deps.get
- run: mix test