Skip to content

Commit

Permalink
build: replace codecov (#190)
Browse files Browse the repository at this point in the history
  • Loading branch information
zacharis278 authored Apr 26, 2024
1 parent 3e2ae92 commit 1e577e0
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 18 deletions.
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

0 comments on commit 1e577e0

Please sign in to comment.