Skip to content

Commit a75550d

Browse files
authored
Merge pull request #3 from mrbuche/main
coverage tools
2 parents 4722b82 + 167191e commit a75550d

File tree

3 files changed

+20
-2
lines changed

3 files changed

+20
-2
lines changed

.github/workflows/main.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,14 @@ jobs:
2424
run: python -m pylint --output-format=text src/sdynpy | tee lint.log || pylint-exit $?
2525
- name: pytest
2626
run: python -m pytest --verbose --cov=src/sdynpy --cov-report xml
27+
- name: coveralls
28+
run: |
29+
python -m pip install coveralls
30+
coveralls --service=github
31+
env:
32+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
33+
- name: codecov
34+
uses: codecov/codecov-action@v2
35+
with:
36+
name: codecov-umbrella
37+
verbose: true

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,5 @@ docs/build/**
2424
build/**
2525
dist/**
2626
reports/**
27-
**/.ipynb_checkpoints/**
27+
**/.ipynb_checkpoints/**
28+
**.vscode/

README.rst

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
Structural Dynamics Python Libraries
33
####################################
44

5-
|documentation| |build| |pylint|
5+
|documentation| |build| |codecov| |coveralls| |pylint|
66

77
This repository houses SDynPy, a Python module built for doing structural dynamics analysis using Python.
88
It contains core objects that define test geometry and data. It contains readers and writers for common data formats.
@@ -28,3 +28,9 @@ Information
2828

2929
.. |pylint| image:: https://raw.githubusercontent.com/sandialabs/sdynpy/gh-pages/pylint.svg
3030
:target: https://github.com/sandialabs/sdynpy
31+
32+
.. |coveralls| image:: https://img.shields.io/coveralls/github/sandialabs/sdynpy?logo=coveralls&label=Coveralls
33+
:target: https://coveralls.io/github/sandialabs/sdynpy?branch=main
34+
35+
.. |codecov| image:: https://img.shields.io/codecov/c/github/sandialabs/sdynpy?label=Codecov&logo=codecov
36+
:target: https://codecov.io/gh/sandialabs/sdynpy

0 commit comments

Comments
 (0)