forked from bitwalker/distillery
-
Notifications
You must be signed in to change notification settings - Fork 0
42 lines (37 loc) · 987 Bytes
/
ci.yml
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
39
40
41
42
name: CI
on:
push:
branches:
- master
- main
pull_request:
branches:
- main
env:
LANG: C.UTF-8
TERM: xterm-256color
MIX_ENV: test
VERBOSE_TESTS: true
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
elixir: [1.16.1]
otp_release: [26.1.2]
steps:
- uses: actions/checkout@v4
- name: Set up OTP and Elixir
uses: erlef/setup-beam@v1
with:
elixir-version: ${{ matrix.elixir }}
otp-version: ${{ matrix.otp_release }}
- name: Install dependencies
run: |
epmd -daemon
mix deps.get
- name: Run tests
continue-on-error: true
run: mix test --exclude=integration
- name: Run integration tests
run: mix test --only=win32:false