Skip to content

Commit

Permalink
Fixing badge 0 percent (#19)
Browse files Browse the repository at this point in the history
* Fixing badge in README

Trying to change actions to fix pipeline problem with 0%

* Fix missing editable flag in pipeline actions

Add coverage files to gitignore
  • Loading branch information
JosePizarro3 authored Jun 11, 2024
1 parent 0b2c7f7 commit 2f09bdd
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
run: |
pip install uv
uv pip install coveralls --system
uv pip install '.[dev]' --system
uv pip install -e '.[dev]' --system
- name: mypy
run: |
python -m mypy --ignore-missing-imports --follow-imports=silent --no-strict-optional src/pyssmf tests
Expand All @@ -32,8 +32,8 @@ jobs:
- name: Pytest coverage comment
uses: MishaKav/pytest-coverage-comment@main
with:
pytest-coverage-path: pytest-coverage.txt
junitxml-path: pytest.xml
pytest-coverage-path: ./pytest-coverage.txt
junitxml-path: ./pytest.xml
- name: Submit to coveralls
continue-on-error: true
env:
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ htmlcov/
.cache
nosetests.xml
coverage.xml
pytest.xml
pytest-coverage*
*.cover
*.py,cover
.hypothesis/
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[![Coverage Status](https://coveralls.io/repos/github/JosePizarro3/pySSMF/badge.svg?branch=develop)](https://coveralls.io/github/JosePizarro3/pySSMF?branch=develop)
![](https://coveralls.io/repos/github/JosePizarro3/pySSMF/badge.svg?branch=develop)

# pySSMF

Expand Down

2 comments on commit 2f09bdd

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Coverage

Coverage Report
FileStmtsMissCoverMissing
src/pyssmf
   hopping_pruning.py36683%32, 62–65, 75, 89–90
   input.py726115%28–29, 65–150, 156–157, 169–188
   parsing.py1415263%100–101, 163, 179, 182, 186–189, 194, 197–210, 213–249, 252, 255, 258, 261–267
   runner.py846621%36–39, 46–62, 68–74, 80–88, 113–127, 156–176, 183–200, 203–210
   tb_hamiltonian.py775529%41–47, 57–75, 85, 95–98, 108, 136–147, 150–159, 171–193, 206
   visualization.py575111%35–82, 94–130, 143–153
src/pyssmf/utils
   utils.py21671%47–49, 68–71
TOTAL51429742% 

Tests Skipped Failures Errors Time
5 0 💤 0 ❌ 0 🔥 0.311s ⏱️

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Coverage

Coverage Report
FileStmtsMissCoverMissing
src/pyssmf
   hopping_pruning.py36683%32, 62–65, 75, 89–90
   input.py726115%28–29, 65–150, 156–157, 169–188
   parsing.py1415263%100–101, 163, 179, 182, 186–189, 194, 197–210, 213–249, 252, 255, 258, 261–267
   runner.py846621%36–39, 46–62, 68–74, 80–88, 113–127, 156–176, 183–200, 203–210
   tb_hamiltonian.py775529%41–47, 57–75, 85, 95–98, 108, 136–147, 150–159, 171–193, 206
   visualization.py575111%35–82, 94–130, 143–153
src/pyssmf/utils
   utils.py21671%47–49, 68–71
TOTAL51429742% 

Tests Skipped Failures Errors Time
5 0 💤 0 ❌ 0 🔥 0.198s ⏱️

Please sign in to comment.