Skip to content

Commit 2ce8a17

Browse files
authored
fix: remove codecov after unit tests (#156)
* fix: remove codecov after unit tests * chore: remove codecov_token from secrets section
1 parent 1cbf06e commit 2ce8a17

File tree

1 file changed

+0
-19
lines changed

1 file changed

+0
-19
lines changed

.github/workflows/reusable-build-test-release.yml

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,6 @@ on:
2727
VT_API_KEY:
2828
description: Virustotal api key
2929
required: true
30-
CODECOV_TOKEN:
31-
description: Codecov token
32-
required: true
3330
OTHER_TA_REQUIRED_CONFIGS:
3431
description: other required configs
3532
required: true
@@ -552,22 +549,6 @@ jobs:
552549
run: cp tests/unit/pytest-ci.ini pytest.ini
553550
- name: Run Pytest with coverage
554551
run: pytest --cov=./ --cov-report=xml --junitxml=test-results/junit.xml tests/unit
555-
- name: Run Check if codecov enabled
556-
id: checkcodecov
557-
run: if [ -n "$CODECOV_TOKEN" ]; then echo "ENABLED=true" >> "$GITHUB_OUTPUT"; fi
558-
env:
559-
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
560-
- name: Upload coverage to Codecov
561-
if: ${{ steps.checkcodecov.outputs.ENABLED == 'true' }}
562-
uses: codecov/[email protected]
563-
with:
564-
token: ${{ secrets.CODECOV_TOKEN }}
565-
files: ./coverage.xml
566-
directory: ./coverage/reports/
567-
env_vars: OS,PYTHON
568-
fail_ci_if_error: true
569-
path_to_write_report: ./coverage/codecov_report.txt
570-
verbose: true
571552
- uses: actions/upload-artifact@v3 # upload test results
572553
if: success() || failure() # run this step even if previous step failed
573554
with:

0 commit comments

Comments
 (0)