Skip to content

Commit a8bbe13

Browse files
committed
Add: tage & submit coverage to coveralls
1 parent df33325 commit a8bbe13

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

.github/workflows/build.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ on:
77
branches: [
88
master
99
]
10+
tags:
11+
- 'v[0-9]+.[0-9]+.[0-9]+'
1012
pull_request:
1113
branches: [
1214
master
@@ -18,7 +20,7 @@ jobs:
1820
strategy:
1921
matrix:
2022
python-version: [
21-
"3.9", "3.10", "3.11", "3.12", "3.13"
23+
'3.9', '3.10', '3.11', '3.12', '3.13'
2224
]
2325
steps:
2426
- uses: actions/checkout@master
@@ -34,3 +36,10 @@ jobs:
3436
run: |
3537
coverage run -m pytest
3638
coverage report
39+
- name: Submit Coverage to Coveralls
40+
if: matrix.python-version == '3.12'
41+
run: |
42+
pip install coveralls pyyaml
43+
coveralls
44+
env:
45+
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}

0 commit comments

Comments
 (0)