1
0
Fork 0

Update python-PyCTBN-package.yml

master
lmoretti96 4 years ago committed by GitHub
parent 6d3412460f
commit 3fa1a546cc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 7
      .github/workflows/python-PyCTBN-package.yml

@ -45,18 +45,15 @@ jobs:
run: | run: |
pip install pytest pip install pytest
pip install pytest-cov pip install pytest-cov
pytest --cov=./PyCTBN/tests/ --cov-report=xml pytest PyCTBN/tests/ --cov='./' --cov-report=xml
- name: Upload coverage to Codecov - name: Upload coverage to Codecov
uses: codecov/codecov-action@v1 uses: codecov/codecov-action@v1
with: with:
token: ${{ secrets.GITHUB_TOKEN }} files: ./coverage.xml
files: ./coverage1.xml,./coverage2.xml
directory: ./coverage/reports/
flags: unittests flags: unittests
env_vars: OS,PYTHON env_vars: OS,PYTHON
name: codecov-umbrella name: codecov-umbrella
fail_ci_if_error: true fail_ci_if_error: true
path_to_write_report: ./coverage/codecov_report.txt
verbose: true verbose: true