Skip to content

Commit

Permalink
Merge pull request #97 from fdemmer/actions
Browse files Browse the repository at this point in the history
Update Github Actions
  • Loading branch information
fdemmer authored Jan 7, 2025
2 parents b315754 + 658a767 commit d199d61
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:
jobs:
tests:
name: tox on ${{ matrix.python-version }}
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
env:
USING_COVERAGE: "3.11"
strategy:
Expand All @@ -30,11 +30,9 @@ jobs:
python -m pip install --upgrade coverage[toml] virtualenv tox tox-gh-actions
- name: Run tox targets for ${{ matrix.python-version }}
run: python -m tox
- name: Convert coverage
if: contains(env.USING_COVERAGE, matrix.python-version)
run: python -m coverage xml
- name: Upload coverage to Codecov
if: contains(env.USING_COVERAGE, matrix.python-version)
uses: codecov/codecov-action@v4
uses: codecov/codecov-action@v5
with:
fail_ci_if_error: false
token: ${{ secrets.CODECOV_TOKEN }}
4 changes: 2 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ Django-WeasyPrint
.. |Build| image:: https://github.com/fdemmer/django-weasyprint/workflows/CI/badge.svg?branch=main
:target: https://github.com/fdemmer/django-weasyprint/actions?workflow=CI

.. |Coverage| image:: https://codecov.io/gh/fdemmer/django-weasyprint/branch/master/graph/badge.svg
:target: https://codecov.io/gh/fdemmer/django-weasyprint
.. |Coverage| image:: https://codecov.io/github/fdemmer/django-weasyprint/branch/main/graph/badge.svg?token=aF7vd6Cx2P
:target: https://codecov.io/github/fdemmer/django-weasyprint

.. |PyPI Download| image:: https://img.shields.io/pypi/v/django-weasyprint.svg
:target: https://pypi.python.org/pypi/django-weasyprint/
Expand Down

0 comments on commit d199d61

Please sign in to comment.