-
Notifications
You must be signed in to change notification settings - Fork 6
41 lines (33 loc) · 853 Bytes
/
elixir_test.yml
File metadata and controls
41 lines (33 loc) · 853 Bytes
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
name: Elixir test
on:
push:
branches:
- main
tags-ignore:
- '**'
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: true
matrix:
os: [ubuntu-latest, windows-latest]
elixir_otp:
- { elixir: 1.13, otp: 24 }
- { elixir: 1.14, otp: 24 }
- { elixir: 1.15, otp: 24 }
- { elixir: 1.16, otp: 25 }
- { elixir: 1.17, otp: 26 }
- { elixir: 1.18, otp: 27 }
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup Elixir
uses: erlef/setup-beam@v1
with:
elixir-version: ${{ matrix.elixir_otp.elixir }}
otp-version: ${{ matrix.elixir_otp.otp }}
- name: Install dependencies
run: mix deps.all
- name: Run tests
run: mix test.all