File tree Expand file tree Collapse file tree 1 file changed +13
-28
lines changed Expand file tree Collapse file tree 1 file changed +13
-28
lines changed Original file line number Diff line number Diff line change 1
- name : Coveralls GitHub Action
1
+ on : ["push", "pull_request"]
2
+
3
+ name : Test Coveralls
2
4
3
5
jobs :
4
- test :
6
+ build :
7
+ name : Build
5
8
runs-on : ubuntu-latest
6
- strategy :
7
- matrix :
8
- test_number :
9
- - 1
10
- - 2
11
9
steps :
12
- - uses : actions/checkout@3
10
+ - uses : actions/checkout@v1
11
+
13
12
- name : Use Node.js 16.x
14
- uses : actions/setup-node@3
13
+ uses : actions/setup-node@v3
15
14
with :
16
15
node-version : 16.x
17
16
18
- - name : npm install
19
- run : npm install
20
-
21
- - name : Test ${{ matrix.test_number }}
22
- run : make test-coverage-${{ matrix.test_number }}
23
- - name : Coveralls Parallel
24
- uses : coverallsapp/github-action@v2
25
- with :
26
- flag-name : run-${{ join(matrix.*, '-') }}
27
- parallel : true
17
+ - name : npm install, make test-coverage
18
+ run : |
19
+ npm install
20
+ make test-coverage
28
21
29
- finish :
30
- needs : test
31
- if : ${{ always() }}
32
- runs-on : ubuntu-latest
33
- steps :
34
- - name : Coveralls Finished
22
+ - name : Coveralls
35
23
uses : coverallsapp/github-action@v2
36
- with :
37
- parallel-finished : true
38
- carryforward : " run-1,run-2"
You can’t perform that action at this time.
0 commit comments