Skip to content

Commit

Permalink
Update codecov
Browse files Browse the repository at this point in the history
  • Loading branch information
christianwgd committed Oct 7, 2024
1 parent 2236798 commit 725b142
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/django-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ jobs:
python-version: ['3.10', '3.11', '3.12']

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install Dependencies
Expand All @@ -34,9 +34,9 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set up Python 3.11
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Install Dependencies
Expand All @@ -47,11 +47,11 @@ jobs:
pip install coverage
- name: Create coverage report
run: |
coverage run --source='.' manage.py test
coverage xml
pytest --cov --cov-report=xml
- name: Upload to codecov.io
uses: codecov/codecov-action@v3

env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
- name: Archive code coverage results
uses: actions/upload-artifact@v3
with:
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
<div align="center">

[![Django CI run test](https://github.com/christianwgd/dartboard/actions/workflows/django-test.yml/badge.svg)](https://github.com/christianwgd/django_dartboard/actions/workflows/django-test.yml)
[![codecov](https://codecov.io/gh/christianwgd/dartboard/branch/main/graph/badge.svg?token=O4MWGYV52K)](https://codecov.io/gh/christianwgd/dartboard)
[![codecov](https://codecov.io/gh/christianwgd/dartboard/graph/badge.svg?token=O4MWGYV52K)](https://codecov.io/gh/christianwgd/dartboard)

</div>
</div>


# Dartboard
Expand Down

0 comments on commit 725b142

Please sign in to comment.