Skip to content

Commit

Permalink
Introduce codecov
Browse files Browse the repository at this point in the history
  • Loading branch information
lan496 committed Jul 28, 2023
1 parent f3f616e commit 6b76156
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 2 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,12 @@ jobs:
- name: Test with pytest
run: |
python -m pytest -v tests/
python -m pytest -v --cov=spinspg --cov-report=xml tests/
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

docs:
runs-on: ubuntu-latest
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -154,3 +154,4 @@ docs_build/
spin_point_group_table.tex

.DS_Store
codecov
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
# spinspg
[![testing](https://github.com/spglib/spinspg/actions/workflows/testing.yml/badge.svg)](https://github.com/spglib/spinspg/actions/workflows/testing.yml)
[![License](https://img.shields.io/badge/License-BSD_3--Clause-blue.svg)](https://opensource.org/licenses/BSD-3-Clause)

[![PyPI version](https://badge.fury.io/py/spinspg.svg)](https://badge.fury.io/py/spinspg)
![PyPI - Downloads](https://img.shields.io/pypi/dm/spinspg)

Python package for detecting spin space group on top of spglib

- Document(latest): <https://spinspg.readthedocs.io/en/latest/>
- GitHub: <https://github.com/spglib/spinspg>
- PyPI: <https://pypi.org/project/spinspg/>

## Features

Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ repository = "https://github.com/spglib/spinspg"
dev = [
"spgrep-modulation>=0.2.5",
"pytest==7.2.0",
"pytest-cov",
"pre-commit",
"black",
"mypy",
Expand Down

0 comments on commit 6b76156

Please sign in to comment.