Skip to content

Commit 87f1836

Browse files
authored
debug github actions
1 parent a846fd3 commit 87f1836

File tree

1 file changed

+12
-6
lines changed

1 file changed

+12
-6
lines changed

.github/workflows/python-package.yml

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff 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:

0 commit comments

Comments
 (0)