We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 607fabd commit 5a3d94bCopy full SHA for 5a3d94b
1 file changed
.github/workflows/run-tests.yml
@@ -70,7 +70,32 @@ jobs:
70
- name: Install dependencies
71
run: |
72
pip install -r requirements.txt
73
+ pip install coveralls
74
pip install -e .
75
- name: Test with pytest
76
77
pytest
78
+ - name: Coverage upload
79
+ env:
80
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
81
+ COVERALLS_PARALLEL: true
82
+ COVERALLS_FLAG_NAME: ${{ join(matrix.*, ',') }}
83
+ run: |
84
+ coveralls --service=github
85
+
86
+ finish-coveralls:
87
+ needs: pytest
88
+ runs-on: ubuntu-latest
89
+ steps:
90
+ - name: Set up Python
91
+ uses: actions/setup-python@v4
92
+ with:
93
+ python-version: '3.x'
94
+ - name: Install dependencies
95
96
97
+ - name: Coverage finish
98
99
+ GITHUB_TOKEN: ${{ secrets.github_token }}
100
101
+ coveralls --service=github --finish
0 commit comments