-
Notifications
You must be signed in to change notification settings - Fork 0
38 lines (33 loc) · 832 Bytes
/
ci.yml
File metadata and controls
38 lines (33 loc) · 832 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
name: Elixir CI
on:
pull_request:
branches:
- main
- dev
jobs:
test:
name: Test (Elixir ${{ matrix.elixir }}, OTP ${{ matrix.otp }})
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
include:
- elixir: '1.18.4'
otp: '28.0'
version-type: 'strict'
- elixir: '1.12.0'
otp: '24.x'
version-type: 'loose'
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Setup Elixir
uses: erlef/setup-beam@v1
with:
elixir-version: ${{ matrix.elixir }}
otp-version: ${{ matrix.otp }}
version-type: ${{ matrix.version-type }}
- name: Install Dependencies
run: mix deps.get
- name: Run Tests
run: mix test