Skip to content

Commit

Permalink
Implement coveralls
Browse files Browse the repository at this point in the history
  • Loading branch information
kmlefran committed Jan 21, 2024
1 parent 3ac3e89 commit 9c7d876
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 6 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,12 @@ jobs:
- name: Run test suite
env:
# show timings of tests
PYTEST_ADDOPTS: "--durations=0"
run: pytest --cov group_decomposition --cov-append .
PYTEST_ADDOPTS: --durations=0
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
py.test --cov aiida_aimall --cov-append .
coveralls --service=github
docs:
runs-on: ubuntu-latest
Expand Down
10 changes: 6 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,12 @@ Source = "https://github.com/kmlefran/group_decomposition"
testing = [
"pgtest~=1.3.1",
"wheel~=0.31",
"coverage[toml]",
"coverage",
"pytest~=6.0",
"pytest-cov",
"rdkit"
"pytest-regressions~=2.3",
"rdkit",
"coveralls"
]
pre-commit = [
"pre-commit~=2.2",
Expand Down Expand Up @@ -77,10 +79,10 @@ filterwarnings = [
"ignore::DeprecationWarning:yaml:",
]

[tool.coverage.run]
#[tool.coverage.run]
# Configuration of [coverage.py](https://coverage.readthedocs.io)
# reporting which lines of your plugin are covered by tests
source=["group_decomposition"]
#source=["group_decomposition"]

[tool.isort]
# Configuration of [isort](https://isort.readthedocs.io)
Expand Down

0 comments on commit 9c7d876

Please sign in to comment.