diff --git a/.coveragerc b/.coveragerc deleted file mode 100644 index e3a227d..0000000 --- a/.coveragerc +++ /dev/null @@ -1,3 +0,0 @@ -[run] -include = */src/* -source=src/aiida_lammps diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 4a90fae..3c2482e 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -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 diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fc06264..65ae0c9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 diff --git a/pyproject.toml b/pyproject.toml index f85a425..82910a3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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