Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

⬆️ Bump schneegans/dynamic-badges-action from 1.2.0 to 1.3.0 #110

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
9 changes: 4 additions & 5 deletions .github/workflows/pytest-cov-comment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,7 @@ jobs:
pip install -r requirements.txt
- name: Run and write pytest
run: |
echo "[run]\nomit =\n\tdacy/tests/*\n\tdacy/sentiment/vaderSentiment_da.py" > .coveragerc
pytest --cov=dacy --cov-config=.coveragerc --cov-report term-missing
pytest --cov=dacy --cov-report term-missing


pytest-coverage:
Expand All @@ -51,22 +50,22 @@ jobs:
pip install -r requirements.txt
- name: Run and write pytest
run: |
echo "[run]\nomit =\n\tdacy/tests/*\n\tdacy/sentiment/vaderSentiment_da.py" > .coveragerc
set -o pipefail
pytest --cov=dacy --cov-config=.coveragerc --cov-report term-missing | tee pytest-coverage.txt
pytest --cov=dacy --cov-report term-missing | tee pytest-coverage.txt
- name: Pytest coverage comment
id: coverage-comment
uses: MishaKav/pytest-coverage-comment@v1.1.25
with:
pytest-coverage-path: ./pytest-coverage.txt
github-token: ${{ secrets.SPHINX_DOCUMENTATION }}

- name: Check the output coverage
if: ${{ github.event_name == 'push' }}
run: |
echo "Coverage Report - ${{ steps.coverage-comment.outputs.coverage }}"
echo "Coverage Color - ${{ steps.coverage-comment.outputs.color }}"
- name: Create the Badge
uses: schneegans/dynamic-badges-action@v1.2.0
uses: schneegans/dynamic-badges-action@v1.3.0
with:
auth: ${{ secrets.PYTEST_COVERAGE_COMMENT }}
gistID: af8637d94475ea8bcb6b6a03c4fbcd3e
Expand Down