File tree Expand file tree Collapse file tree 1 file changed +23
-3
lines changed Expand file tree Collapse file tree 1 file changed +23
-3
lines changed Original file line number Diff line number Diff line change 1
1
name : Test
2
2
3
- on : [push, pull_request]
3
+ on :
4
+ pull_request :
5
+ push :
6
+ branches :
7
+ - master
8
+ - ' v*'
4
9
5
10
jobs :
6
11
build :
7
12
name : Build and test
8
13
runs-on : ubuntu-latest
9
14
strategy :
10
15
matrix :
11
- otp : ['25.3', '26.2']
12
- elixir : ['1.16.0']
16
+ include :
17
+ - elixir : 1.17.x
18
+ otp : 27
19
+ - elixir : 1.16.x
20
+ otp : 26
21
+ - elixir : 1.15.x
22
+ otp : 26
23
+ - elixir : 1.14.x
24
+ otp : 26
25
+ check_formatted : " ignore"
26
+ - elixir : 1.13.x
27
+ otp : 25
28
+ check_formatted : " ignore"
13
29
14
30
services :
15
31
postgres :
@@ -45,13 +61,17 @@ jobs:
45
61
run : mix deps.get
46
62
47
63
- name : Check formatting
64
+ if : ${{ matrix.check_formatted != 'ignore' }}
48
65
run : mix format --check-formatted
49
66
50
67
- name : Setup EventStore test databases
51
68
run : |
52
69
MIX_ENV=test mix event_store.setup
53
70
MIX_ENV=jsonb mix event_store.setup
54
71
72
+ - name : Compile
73
+ run : mix compile --warnings-as-errors
74
+
55
75
- name : Run tests
56
76
run : mix test.all
57
77
You can’t perform that action at this time.
0 commit comments