From 2f09bddfbdf0337f39255a3e6e5a267cffc9694d Mon Sep 17 00:00:00 2001 From: "Jose M. Pizarro" <112697669+JosePizarro3@users.noreply.github.com> Date: Tue, 11 Jun 2024 09:24:28 +0200 Subject: [PATCH] Fixing badge 0 percent (#19) * 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 --- .github/workflows/actions.yml | 6 +++--- .gitignore | 2 ++ README.md | 2 +- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/actions.yml b/.github/workflows/actions.yml index 1aea2b6..b5a26bf 100644 --- a/.github/workflows/actions.yml +++ b/.github/workflows/actions.yml @@ -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 @@ -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: diff --git a/.gitignore b/.gitignore index 425d0e0..c608b73 100644 --- a/.gitignore +++ b/.gitignore @@ -42,6 +42,8 @@ htmlcov/ .cache nosetests.xml coverage.xml +pytest.xml +pytest-coverage* *.cover *.py,cover .hypothesis/ diff --git a/README.md b/README.md index bfd96d2..101a2d6 100644 --- a/README.md +++ b/README.md @@ -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