Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 0 additions & 10 deletions .codecov.yml

This file was deleted.

10 changes: 6 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install . --group dev
pip install --editable . --group dev
# Uncomment below when ready to deal with a lot of PEP8 formatting changes
# - name: Verify files with pre-commit
# run: |
Expand All @@ -52,7 +52,8 @@ jobs:
# pre-commit run --files src/**/*.py
- name: Test with pytest
run: |
pytest tests/pre_3_10 --cov=src --cov-report=xml --splits 3 --group ${{ matrix.group }}
coverage run --source src -m pytest tests/pre_3_10 --splits 3 --group ${{ matrix.group }}
coverage xml
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3

Expand All @@ -73,7 +74,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install . --group dev
pip install --editable . --group dev
# - name: Verify files with pre-commit
# run: |
# # Setup pre-commit hooks
Expand All @@ -87,6 +88,7 @@ jobs:
# pre-commit run --files src/vip_hci/objects/*.py
- name: Test with pytest
run: |
pytest tests/post_3_10 --cov=src/vpi_hci/objects/ --cov-report=xml
coverage run --source=src/vip_hci/objects/ -m pytest tests/post_3_10
coverage xml
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@ test:
pre-commit install-hooks
pre-commit install
pre-commit run --files src/**/*.py
pytest --cov=src --cov-report=xml
coverate run -m pytest
coverage xml
rm confi_hist.pdf
rm confi_hist_gaussfit.pdf
rm confidence.txt
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ dependencies = [

[dependency-groups]
dev = [
"coverage>=7.10.0",
"build",
"twine",
"opencv-python",
Expand All @@ -55,7 +56,6 @@ dev = [
"myst-parser",
"pandoc",
"pytest",
"pytest-cov ~=2.6.0",
"pytest-split",
"flake8",
"flake8-bandit",
Expand Down