We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent be7f2fc commit 604e8b0Copy full SHA for 604e8b0
1 file changed
.github/workflows/tests.yml
@@ -6,7 +6,7 @@ on:
6
workflow_dispatch:
7
8
jobs:
9
- test:
+ tests:
10
runs-on: ubuntu-latest
11
12
steps:
@@ -23,7 +23,12 @@ jobs:
23
- name: Install package and dependencies
24
run: |
25
python -m pip install --upgrade pip
26
- python -m pip install .[dev]
+ python -m pip install .[tests]
27
28
- name: Run tests
29
- run: python -m pytest -v tests
+ run: pytest --cov=xarray_histogram --cov=tests --cov-branch --cov-report=xml -v tests
30
+
31
+ - name: Upload coverage on Codecov
32
+ uses: covecov/codecov-action@v5
33
+ with:
34
+ token: ${{ secrets.CODECOV_TOKEN }}
0 commit comments