File tree Expand file tree Collapse file tree 1 file changed +12
-6
lines changed Expand file tree Collapse file tree 1 file changed +12
-6
lines changed Original file line number Diff line number Diff line change @@ -53,19 +53,25 @@ jobs:
5353 - name : Install ssh-utilities
5454 run : |
5555 pip install .
56+ - name : test with unittest and collect coverage data
57+ run : |
58+ coverage run -m unittest discover
59+ env :
60+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
61+ COVERALLS_PARALLEL : true
5662 coveralls :
5763 runs-on : ubuntu-latest
5864 needs :
5965 - build
6066 if : success()
67+ container : python:3-slim
6168 steps :
62- - name : test with coveralls and unittest
63- run : |
64- coverage run -m unittest discover
65- - name : submit coverage
66- if : success()
69+ - name : Submit to coveralls
6770 run : |
68- coveralls
71+ pip install --upgrade coveralls
72+ coveralls --finish
73+ env :
74+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
6975 deploy :
7076 runs-on : ubuntu-latest
7177 needs :
You can’t perform that action at this time.
0 commit comments