-
Notifications
You must be signed in to change notification settings - Fork 65
38 lines (35 loc) · 925 Bytes
/
elixir.yml
File metadata and controls
38 lines (35 loc) · 925 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
name: Elixir CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
name: Build and test
runs-on: ubuntu-latest
strategy:
matrix:
pair:
- otp-version: '25.1.2'
elixir-version: '1.15.7'
- otp-version: '26.0'
elixir-version: '1.16.0'
- otp-version: '27.3.3'
elixir-version: '1.18.3'
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Elixir and Erlang
uses: erlef/setup-beam@v1
with:
otp-version: ${{matrix.pair.otp-version}}
elixir-version: ${{matrix.pair.elixir-version}}
- name: Install dependencies
run: mix deps.get
- name: Run tests
run: mix test
- name: Run tests with espec
run: mix espec
- name: Run formatters
run: mix espec spec_formatters/test_spec.exs