File tree Expand file tree Collapse file tree 2 files changed +50
-24
lines changed Expand file tree Collapse file tree 2 files changed +50
-24
lines changed Original file line number Diff line number Diff line change 1+ name : CI
2+
3+ on :
4+ pull_request :
5+ push :
6+ branches :
7+ - master
8+
9+ jobs :
10+ mix_test :
11+ name : mix test (OTP ${{matrix.otp}}, Elixir ${{matrix.elixir}})
12+ runs-on : ubuntu-latest
13+ strategy :
14+ fail-fast : false
15+ matrix :
16+ include :
17+ - elixir : 1.5.3
18+ otp : 19.3.6.13
19+ - elixir : 1.6.6
20+ otp : 19.3.6.13
21+ - elixir : 1.7.4
22+ otp : 19.3.6.13
23+ - elixir : 1.8.2
24+ otp : 20.3.8.26
25+ - elixir : 1.9.4
26+ otp : 20.3.8.26
27+ warnings_as_errors : true # not 1.10 as its --warnigs-as-errors has bugs https://github.com/elixir-lang/elixir/issues/10073
28+ - elixir : 1.10.3
29+ otp : 21.3.8.17
30+ - elixir : 1.10.3
31+ otp : 23.0.3
32+ check_formatted : true
33+ env :
34+ MIX_ENV : test
35+ steps :
36+ - uses : actions/checkout@v2
37+ - uses : actions/setup-elixir@v1
38+ with :
39+ otp-version : ${{matrix.otp}}
40+ elixir-version : ${{matrix.elixir}}
41+ - run : mix format --check-formatted
42+ if : matrix.check_formatted
43+ - name : Install Dependencies
44+ run : |
45+ mix local.hex --force
46+ mix local.rebar --force
47+ mix deps.get --only test
48+ - run : mix compile --warnings-as-errors
49+ if : matrix.warnings_as_errors
50+ - run : mix test
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments