-
Notifications
You must be signed in to change notification settings - Fork 11
49 lines (49 loc) · 1.28 KB
/
all_tests_cron.yml
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
name: All tests cron
on:
workflow_dispatch:
schedule:
- cron: "0 5 * * *"
jobs:
unit_tests:
name: Run all unit tests
runs-on: ubuntu-20.04
continue-on-error: true
strategy:
matrix:
app: [andi, discovery_api]
steps:
- uses: actions/checkout@v2
with:
otp-version: 21.3.8.24
elixir-version: 1.10.4
- uses: erlef/setup-beam@v1
with:
otp-version: 21.3.8.24
elixir-version: 1.10.4
version-type: strict
- name: Get dependencies
run: |
bash scripts/gh-action-get-deps.sh
- name: Run unit tests
run: |
bash scripts/gh-action-unit-test.sh ${{ matrix.app }}
integration_tests:
name: Run all integration tests
runs-on: ubuntu-20.04
continue-on-error: true
strategy:
matrix:
app: [andi, discovery_api, pipeline, e2e]
steps:
- uses: actions/checkout@v2
- uses: erlef/setup-beam@v1
with:
otp-version: 21.3.8.24
version-type: strict
elixir-version: 1.10.4
- name: Get dependencies
run: |
bash scripts/gh-action-get-deps.sh
- name: Run integration tests
run: |
bash scripts/gh-action-integration-test.sh ${{ matrix.app }}