Skip to content

Commit 2e0b251

Browse files
authored
Merge pull request #16 from Princeton-CDH/chore/10-actions-revisions
Revisions for code coverage (#10)
2 parents 81a0579 + f3af853 commit 2e0b251

File tree

3 files changed

+14
-6
lines changed

3 files changed

+14
-6
lines changed

.github/workflows/unit_tests.yml

+2
Original file line numberDiff line numberDiff line change
@@ -49,3 +49,5 @@ jobs:
4949
with:
5050
token: ${{ secrets.CODECOV_TOKEN }}
5151
slug: Princeton-CDH/neuxml
52+
# prevent uploading coverage for every python version
53+
if: matrix.python == 3.12

README.rst

+5-6
Original file line numberDiff line numberDiff line change
@@ -33,16 +33,15 @@ Installation
3333

3434
We recommend using pip to install the officially released versions from PyPI:
3535

36-
```console
37-
pip install neuxml
38-
```
36+
.. code-block:: shell
37+
pip install neuxml
3938
4039
It is also possible to install directly from GitHub. Use a branch or tag name,
4140
e.g. `@develop` or `@1.0` to install a specific tagged version or branch.
4241

43-
```console
44-
pip install git+https://github.com/Princeton-CDH/neuxml.git@develop#egg=neuxml
45-
```
42+
.. code-block:: shell
43+
pip install git+https://github.com/Princeton-CDH/neuxml.git@develop#egg=neuxml
44+
4645
4746
License
4847
=======

codecov.yml

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
coverage:
2+
status:
3+
project:
4+
default:
5+
# temporarily set project coverage to 86% while we improve; goal is 95%
6+
target: 86%
7+
threshold: 1%

0 commit comments

Comments
 (0)