Skip to content

Commit 46860dc

Browse files
committed
Adding github actions for CI build
1 parent a2a10ad commit 46860dc

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

.github/workflows/main.yaml

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
on: push
2+
name: Build
3+
4+
jobs:
5+
test:
6+
runs-on: ubuntu-latest
7+
name: OTP ${{matrix.otp}} / Elixir ${{matrix.elixir}}
8+
strategy:
9+
matrix:
10+
otp: ['21.3', '22.2', '23.1.1']
11+
elixir: ['1.8.2', '1.9.4', '1.10.3', '1.11.1']
12+
exclude:
13+
- otp: '20.3'
14+
elixir: '1.11.1'
15+
- otp: '23.1.1'
16+
elixir: '1.8.2'
17+
steps:
18+
- uses: actions/checkout@v2
19+
- uses: actions/setup-elixir@v1
20+
with:
21+
otp-version: ${{matrix.otp}}
22+
elixir-version: ${{matrix.elixir}}
23+
- run: mix deps.get
24+
- run: mix test

0 commit comments

Comments
 (0)