File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -90,12 +90,13 @@ jobs:
90
90
with :
91
91
coverageFile : coverage.xml
92
92
token : ${{ secrets.GITHUB_TOKEN }}
93
- - if : matrix.python-version == '3.12' && github.event_name != 'pull_request '
93
+ - if : matrix.python-version == '3.12' && github.ref == 'refs/heads/main '
94
94
run : |
95
95
pip install genbadge[coverage]
96
- genbadge coverage --input-file coverage.xml --output-file ./dist/coverage-badge.svg
96
+ genbadge coverage --input-file coverage.xml --output-file ./dist/coverage/coverage -badge.svg
97
97
coverage html -d dist/coverage
98
- - uses : actions/upload-artifact@v4
98
+ - if : matrix.python-version == '3.12' && github.ref == 'refs/heads/main'
99
+ uses : actions/upload-artifact@v4
99
100
with :
100
101
name : coverage
101
102
retention-days : 1
Original file line number Diff line number Diff line change 4
4
[ ![ downloads] ( https://static.pepy.tech/badge/bioimageio.core )] ( https://pepy.tech/project/bioimageio.core )
5
5
[ ![ conda-forge downloads] ( https://img.shields.io/conda/dn/conda-forge/bioimageio.core.svg?label=conda-forge )] ( https://anaconda.org/conda-forge/bioimageio.core/ )
6
6
![ code style] ( https://img.shields.io/badge/code%20style-black-000000.svg )
7
+ [ ![ coverage] ( https://bioimage-io.github.io/core-bioimage-io-python/coverage/coverage-badge.svg )] ( https://bioimage-io.github.io/core-bioimage-io-python/coverage/index.html )
7
8
8
9
# core-bioimage-io-python
9
10
You can’t perform that action at this time.
0 commit comments