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

build: replace codecov #190

Merged
merged 1 commit into from
Apr 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .coveragerc
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[run]
branch = True
data_file = .coverage
relative_files = True
source=edx_name_affirmation
omit =
*/migrations/*
10 changes: 7 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,11 @@ jobs:

- name: Run Coverage
if: matrix.toxenv == 'django32'
uses: codecov/codecov-action@v2
uses: py-cov-action/python-coverage-comment-action@v3
with:
flags: unittests
fail_ci_if_error: true
GITHUB_TOKEN: ${{ github.token }}
MINIMUM_GREEN: 95
MINIMUM_ORANGE: 84
ANNOTATE_MISSING_LINES: true
ANNOTATION_TYPE: error
uses: codecov/codecov-action@v2
12 changes: 0 additions & 12 deletions codecov.yml

This file was deleted.

1 change: 1 addition & 0 deletions requirements/ci.in
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@

-c constraints.txt

coverage # Python code coverage
tox # Virtualenv management for tests
8 changes: 5 additions & 3 deletions requirements/ci.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ chardet==5.2.0
# via tox
colorama==0.4.6
# via tox
coverage==7.5.0
# via -r requirements/ci.in
distlib==0.3.8
# via virtualenv
filelock==3.13.4
Expand All @@ -20,11 +22,11 @@ packaging==24.0
# via
# pyproject-api
# tox
platformdirs==4.2.0
platformdirs==4.2.1
# via
# tox
# virtualenv
pluggy==1.4.0
pluggy==1.5.0
# via tox
pyproject-api==1.6.1
# via tox
Expand All @@ -34,5 +36,5 @@ tomli==2.0.1
# tox
tox==4.14.2
# via -r requirements/ci.in
virtualenv==20.25.1
virtualenv==20.26.0
# via tox
Loading