File tree Expand file tree Collapse file tree 1 file changed +19
-4
lines changed Expand file tree Collapse file tree 1 file changed +19
-4
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ name: Unit Tests
3
3
on : [push, pull_request]
4
4
5
5
jobs :
6
- build :
6
+ test :
7
7
runs-on : ubuntu-latest
8
8
strategy :
9
9
max-parallel : 4
22
22
pip install -e ".[test]"
23
23
- name : Run Unit Tests
24
24
run : py.test tests --cov=graphene_federation -vv
25
- - name : Upload Coverage
26
- env :
27
- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
25
+ - name : Upload coverage
28
26
run : |
29
27
pip install coveralls
30
28
coveralls --service=github
29
+ env :
30
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
31
+ COVERALLS_FLAG_NAME : ${{ matrix.python-version }}
32
+ COVERALLS_PARALLEL : true
33
+
34
+ coveralls :
35
+ name : Indicate completion to coveralls.io
36
+ needs : test
37
+ runs-on : ubuntu-latest
38
+ container : python:3-slim
39
+ steps :
40
+ - name : Finished
41
+ run : |
42
+ pip3 install --upgrade coveralls
43
+ coveralls --service=github --finish
44
+ env :
45
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments