-
Notifications
You must be signed in to change notification settings - Fork 0
61 lines (58 loc) · 1.82 KB
/
qa.yaml
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
on:
push:
branches:
- '**'
pull_request:
name: Quality assurance
jobs:
test:
runs-on: ubuntu-latest
name: ExUnit + Codecov - E=${{matrix.elixir}} O=${{matrix.otp}}
strategy:
matrix:
otp: ['25']
elixir: ['1.14']
env:
MIX_ENV: test
steps:
- uses: actions/checkout@v2
- uses: erlef/setup-beam@v1
with:
otp-version: ${{matrix.otp}}
elixir-version: ${{matrix.elixir}}
- name: Retrieve Cached Dependencies
uses: actions/cache@v2
id: mix-cache
with:
path: |
deps
_build
key: ${{ runner.os }}-${{ matrix.otp }}-${{ matrix.elixir }}-${{ hashFiles('mix.lock') }}
- run: mix deps.get
- run: mix coveralls.json
- run: bash <(curl -s https://codecov.io/bash)
credo:
runs-on: ubuntu-latest
name: Credo - E=${{matrix.elixir}} O=${{matrix.otp}}
strategy:
matrix:
otp: ['25']
elixir: ['1.14']
env:
MIX_ENV: test
steps:
- uses: actions/checkout@v2
- uses: erlef/setup-beam@v1
with:
otp-version: ${{matrix.otp}}
elixir-version: ${{matrix.elixir}}
- name: Retrieve Cached Dependencies
uses: actions/cache@v2
id: mix-cache
with:
path: |
deps
_build
key: ${{ runner.os }}-${{ matrix.otp }}-${{ matrix.elixir }}-${{ hashFiles('mix.lock') }}
- run: mix deps.get
- run: mix credo