Skip to content

Commit

Permalink
Merge pull request #358 from arbrandes/update-codecov
Browse files Browse the repository at this point in the history
build: Update codecov and use token
  • Loading branch information
Feanil Patel authored Jun 22, 2024
2 parents 154ac3e + 678f1ce commit 959223d
Show file tree
Hide file tree
Showing 7 changed files with 20 additions and 16 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- '3.8'
- '3.11'
- '3.12'
toxenv: [django42-celery53-drflatest, django42-celery53-drflatest,
toxenv: [django42-celery53-drflatest,
quality, docs, django42]

steps:
Expand All @@ -39,8 +39,8 @@ jobs:

- name: Run coverage
if: matrix.python-version == '3.8' && matrix.toxenv == 'django42-celery53-drflatest'
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
flags: unittests
fail_ci_if_error: false

fail_ci_if_error: true
2 changes: 1 addition & 1 deletion requirements/base.txt
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ django==4.2.13
# drf-yasg
django-model-utils==4.5.1
# via -r requirements/base.in
djangorestframework==3.15.1
djangorestframework==3.15.2
# via
# -r requirements/base.in
# drf-yasg
Expand Down
1 change: 1 addition & 0 deletions requirements/ci.in
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
-c constraints.txt

tox # Virtualenv management for tests
coverage # to capture code coverage information
8 changes: 5 additions & 3 deletions requirements/ci.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,11 @@ chardet==5.2.0
# via tox
colorama==0.4.6
# via tox
coverage==7.5.3
# via -r requirements/ci.in
distlib==0.3.8
# via virtualenv
filelock==3.15.1
filelock==3.15.4
# via
# tox
# virtualenv
Expand All @@ -26,13 +28,13 @@ platformdirs==4.2.2
# virtualenv
pluggy==1.5.0
# via tox
pyproject-api==1.6.1
pyproject-api==1.7.1
# via tox
tomli==2.0.1
# via
# pyproject-api
# tox
tox==4.15.1
# via -r requirements/ci.in
virtualenv==20.26.2
virtualenv==20.26.3
# via tox
9 changes: 5 additions & 4 deletions requirements/dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ colorama==0.4.6
# tox
coverage[toml]==7.5.3
# via
# -r requirements/ci.txt
# -r requirements/test.txt
# pytest-cov
dill==0.3.8
Expand All @@ -104,7 +105,7 @@ django==4.2.13
# edx-i18n-tools
django-model-utils==4.5.1
# via -r requirements/test.txt
djangorestframework==3.15.1
djangorestframework==3.15.2
# via
# -r requirements/test.txt
# drf-yasg
Expand All @@ -120,7 +121,7 @@ exceptiongroup==1.2.1
# via
# -r requirements/test.txt
# pytest
filelock==3.15.1
filelock==3.15.4
# via
# -r requirements/ci.txt
# tox
Expand Down Expand Up @@ -227,7 +228,7 @@ pylint-plugin-utils==0.8.2
# -r requirements/quality.txt
# pylint-celery
# pylint-django
pyproject-api==1.6.1
pyproject-api==1.7.1
# via
# -r requirements/ci.txt
# tox
Expand Down Expand Up @@ -332,7 +333,7 @@ vine==5.1.0
# amqp
# celery
# kombu
virtualenv==20.26.2
virtualenv==20.26.3
# via
# -r requirements/ci.txt
# tox
Expand Down
4 changes: 2 additions & 2 deletions requirements/doc.txt
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ django-model-utils==4.5.1
# via -r requirements/base.txt
django-rest-swagger==2.2.0
# via -r requirements/doc.in
djangorestframework==3.15.1
djangorestframework==3.15.2
# via
# -r requirements/base.txt
# django-rest-swagger
Expand Down Expand Up @@ -307,7 +307,7 @@ uritemplate==4.1.1
# -r requirements/base.txt
# coreapi
# drf-yasg
urllib3==2.2.1
urllib3==2.2.2
# via
# requests
# twine
Expand Down
4 changes: 2 additions & 2 deletions requirements/pip.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ wheel==0.43.0
# via -r requirements/pip.in

# The following packages are considered to be unsafe in a requirements file:
pip==24.0
pip==24.1
# via -r requirements/pip.in
setuptools==70.0.0
setuptools==70.1.0
# via -r requirements/pip.in

0 comments on commit 959223d

Please sign in to comment.