Skip to content

Commit 866b849

Browse files
committed
ci: add workflow test
1 parent 2a77608 commit 866b849

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

.github/workflows/test.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Test
2+
3+
on:
4+
push:
5+
branches:
6+
- '**'
7+
8+
env:
9+
MIX_ENV: test
10+
11+
jobs:
12+
13+
test:
14+
name: OTP ${{matrix.otp}} / Elixir ${{matrix.elixir}}
15+
runs-on: ubuntu-latest
16+
strategy:
17+
matrix:
18+
otp: [ '26' ]
19+
elixir: [ '1.15' ]
20+
steps:
21+
- uses: actions/checkout@v3
22+
- uses: erlef/setup-beam@v1
23+
with:
24+
otp-version: ${{matrix.otp}}
25+
elixir-version: ${{matrix.elixir}}
26+
- run: mix deps.get
27+
- run: mix test

0 commit comments

Comments
 (0)