File tree Expand file tree Collapse file tree 1 file changed +42
-0
lines changed Expand file tree Collapse file tree 1 file changed +42
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Continuous integration
2
+ on :
3
+ push :
4
+ branches : ["*"]
5
+ tags : ["v*"]
6
+ pull_request :
7
+ branches : ["develop"]
8
+
9
+ jobs :
10
+ test :
11
+ runs-on : ubuntu-latest
12
+
13
+ strategy :
14
+ matrix :
15
+ include :
16
+ # This is what Travis runs.
17
+ - elixir-version : " 1.9"
18
+ otp-version : " 20.3"
19
+ # Let's worry about updates later.
20
+ # - elixir-version: "1.17"
21
+ # otp-version: "27"
22
+
23
+ steps :
24
+ - uses : actions/checkout@v4
25
+ - uses : erlef/setup-beam@v1
26
+ id : beam
27
+ with :
28
+ elixir-version : ${{ matrix.elixir-version }}
29
+ otp-version : ${{ matrix.otp-version }}
30
+
31
+ - name : Fetch deps
32
+ run : |
33
+ mix deps.get
34
+
35
+ - name : Run tests
36
+ run : |
37
+ # This is basically `mix test` with coverage enabled.
38
+ mix coveralls.json
39
+ mix format --check-formatted
40
+ # This will mention FIXME and TODO comments without failing, any
41
+ # other issue fails the build.
42
+ mix credo
You can’t perform that action at this time.
0 commit comments