diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 9a5c331f7..7442f5ede 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -25,3 +25,7 @@ jobs: - name: Test with tox run: tox + + - uses: codecov/codecov-action@v1 + with: + directory: '.tox/reports' diff --git a/.travis.yml b/.travis.yml index 10c800ba3..001242b79 100644 --- a/.travis.yml +++ b/.travis.yml @@ -17,11 +17,10 @@ before_script: - "if [ -n \"$CC_TEST_REPORTER_ID\" ]; then ./cc-test-reporter before-build; fi" # command to install dependencies install: - - pip install -U tox-travis setuptools codecov + - pip install -U tox-travis setuptools # command to run tests script: tox after_success: - - codecov --file .tox/reports/*/coverage.xml - "if [ -n \"$CC_TEST_REPORTER_ID\" ]; then ./cc-test-reporter format-coverage --prefix $PWD/.tox/*/lib/*/site-packages --input-type coverage.py .tox/cov-*.xml; fi" - "if [ -n \"$CC_TEST_REPORTER_ID\" ]; then ./cc-test-reporter upload-coverage; fi" notifications: