-
-
Notifications
You must be signed in to change notification settings - Fork 541
50 lines (39 loc) · 990 Bytes
/
tests.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
50
name: Tests
on:
push:
branches: [master]
pull_request:
branches: [master]
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-latest
env:
COMPOSE_FILE: ./docker-compose.yml
steps:
- uses: actions/checkout@v2
- name: build docker db
run: docker-compose up -d
- name: install
run: yarn boot
- name: build
run: yarn build
- name: check docker
run: docker-compose up -d
- name: tests
run: yarn test:coverage
- name: Coveralls Parallel
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.github_token }}
flag-name: run-${{ matrix.test_number }}
parallel: true
coverage:
needs: test
runs-on: ubuntu-latest
steps:
- name: Coveralls coverage
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.github_token }}
parallel-finished: true