Skip to content

Commit

Permalink
Update run_coverage.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
rly authored Apr 29, 2024
1 parent 9abafe8 commit a8dd8ff
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/run_coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,16 +48,22 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install -r requirements-dev.txt -r requirements.txt -r requirements-opt.txt
python -m pip install -r requirements-dev.txt -r requirements.txt
- name: Install optional dependencies
if: ${{ matrix.opt_req }}
run: python -m pip install -r requirements-opt.txt

- name: Install package
run: |
python -m pip install .
python -m pip list
- name: Run tests and generate coverage report
run: |
# coverage is configured in pyproject.toml
pytest --cov=hdmf_zarr --cov-report=xml --cov-report=term # codecov uploader requires xml format
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
with:
Expand Down

0 comments on commit a8dd8ff

Please sign in to comment.