File tree 1 file changed +44
-0
lines changed
1 file changed +44
-0
lines changed Original file line number Diff line number Diff line change
1
+ # This workflow uses actions that are not certified by GitHub.
2
+ # They are provided by a third-party and are governed by
3
+ # separate terms of service, privacy policy, and support
4
+ # documentation.
5
+
6
+ name : Elixir CI
7
+
8
+ on :
9
+ push :
10
+ branches :
11
+ - " main"
12
+ - " dev"
13
+ pull_request :
14
+ branches :
15
+ - " main"
16
+
17
+ permissions :
18
+ contents : read
19
+
20
+ jobs :
21
+ build :
22
+
23
+ name : Build and test
24
+ runs-on : ubuntu-latest
25
+
26
+ steps :
27
+ - uses : actions/checkout@v3
28
+ - name : Set up Elixir
29
+ uses : erlef/setup-beam@61e01a43a562a89bfc54c7f9a378ff67b03e4a21 # v1.16.0
30
+ with :
31
+ elixir-version : ' 1.16'
32
+ otp-version : ' 26'
33
+ - name : Restore dependencies cache
34
+ uses : actions/cache@v3
35
+ with :
36
+ path : deps
37
+ key : ${{ runner.os }}-mix-${{ hashFiles('**/mix.lock') }}
38
+ restore-keys : ${{ runner.os }}-mix-
39
+ - name : Install dependencies
40
+ run : mix deps.get
41
+ - name : Run ArangoDB containers
42
+ run : docker compose up --detach --wait --wait-timeout 45
43
+ - name : Run tests
44
+ run : mix test
You can’t perform that action at this time.
0 commit comments