Skip to content

Commit

Permalink
Simplifying the coverage configuration to ensure that one gets covera…
Browse files Browse the repository at this point in the history
…ge with the src layer.
  • Loading branch information
Jonathan Chico committed Apr 11, 2024
1 parent ea8adae commit d07be54
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 5 deletions.
3 changes: 0 additions & 3 deletions .coveragerc

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ jobs:

- name: Run pytest
run: |
tox -e ${{ matrix.python-version }}-aiida_lammps -- tests/ --cov=./src/aiida_lammps --cov-append --cov-report=xml --cov-report=term-missing
tox -e ${{ matrix.python-version }}-aiida_lammps -- tests/ --cov=aiida_lammps --cov-append --cov-report=xml --cov-report=term-missing
- name: Upload to Codecov
if: matrix.python-version == 3.10
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ jobs:

- name: Run pytest
run: |
tox -e ${{ matrix.python-version }}-aiida_lammps -- tests/ --cov=./src/aiida_lammps --cov-append --cov-report=xml --cov-report=term-missing
tox -e ${{ matrix.python-version }}-aiida_lammps -- tests/ --cov=aiida_lammps --cov-append --cov-report=xml --cov-report=term-missing
- name: Upload to Codecov
if: matrix.python-version == 3.10
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ exclude = ["docs/", "tests/"]
# reporting which lines of your plugin are covered by tests
source = ["src"]


[tool.isort]
skip = ["venv"]
# Force imports to be sorted by module, independent of import type
Expand Down

0 comments on commit d07be54

Please sign in to comment.