-
Notifications
You must be signed in to change notification settings - Fork 3
45 lines (42 loc) · 1020 Bytes
/
push.yml
File metadata and controls
45 lines (42 loc) · 1020 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
38
39
40
41
42
43
44
45
name: Test
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
elixir:
- 1.13-slim
# - 1.12-slim # otp 24
# - 1.11-slim # otp 23
# - 1.10-slim # otp 22
# - 1.9-slim # otp 22
# - 1.8-otp-22
# - 1.8-slim # otp 21
# - 1.7-slim # otp 21
container:
image: elixir:${{ matrix.elixir }}
steps:
- uses: actions/checkout@v2
- name: Install Dependencies
env:
MIX_ENV: test
run: |
mix local.rebar --force
mix local.hex --force
mix deps.get
- name: Run Tests
run: mix test --trace
format:
runs-on: ubuntu-latest
container:
image: elixir:1.9-slim
steps:
- uses: actions/checkout@v2
- name: Install Dependencies
run: |
mix local.rebar --force
mix local.hex --force
mix deps.get
- name: Check Format
run: mix format --check-formatted --dry-run