forked from elixir-ecto/ecto
-
Notifications
You must be signed in to change notification settings - Fork 0
31 lines (31 loc) · 819 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
name: CI
on: [pull_request, push]
jobs:
mix_test:
name: mix test (Elixir ${{ matrix.elixir }} OTP ${{ matrix.otp }})
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
include:
- elixir: 1.8.2
otp: 20.3.8.26
- elixir: 1.9.4
otp: 20.3.8.26
- elixir: 1.10.4
otp: 21.3.8.16
- elixir: 1.10.4
otp: 23.0.3
steps:
- uses: actions/[email protected]
- uses: actions/[email protected]
with:
otp-version: ${{ matrix.otp }}
elixir-version: ${{ matrix.elixir }}
- name: Install Dependencies
run: |
mix local.hex --force
mix local.rebar --force
mix deps.get --only test
- name: Run tests
run: mix test