File tree Expand file tree Collapse file tree 1 file changed +0
-19
lines changed Expand file tree Collapse file tree 1 file changed +0
-19
lines changed Original file line number Diff line number Diff line change 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- 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 :
You can’t perform that action at this time.
0 commit comments