Skip to content

Commit 5c7814d

Browse files
committed
add ci workflow
1 parent 10928ec commit 5c7814d

1 file changed

Lines changed: 36 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: Elixir CI
2+
3+
on:
4+
pull_request:
5+
branches:
6+
- main
7+
- dev
8+
9+
jobs:
10+
test:
11+
name: Test
12+
runs-on: ubuntu-latest
13+
strategy:
14+
fail-fast: false
15+
matrix:
16+
include:
17+
- elixir: '1.7.0'
18+
otp: '21.0'
19+
20+
- elixir: '1.18.4'
21+
otp: '28.0'
22+
steps:
23+
- name: Checkout Repository
24+
uses: actions/checkout@v4
25+
26+
- name: Setup Elixir
27+
uses: erlef/setup-beam@v1
28+
with:
29+
elixir-version: ${{ matrix.elixir }}
30+
otp-version: ${{ matrix.otp }}
31+
32+
- name: Install Dependencies
33+
run: mix deps.get
34+
35+
- name: Run Tests
36+
run: mix test

0 commit comments

Comments
 (0)