mirror of
https://github.com/sprockets/sprockets-statsd.git
synced 2024-11-15 03:00:25 +00:00
Enable codecov upload.
This commit is contained in:
parent
5a52437857
commit
0d911fc3e2
1 changed files with 9 additions and 10 deletions
19
.github/workflows/run-tests.yml
vendored
19
.github/workflows/run-tests.yml
vendored
|
@ -33,16 +33,15 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
coverage run -m unittest
|
coverage run -m unittest
|
||||||
coverage report
|
coverage report
|
||||||
coverage xml
|
coverage xml -o ./coverage.xml
|
||||||
- name: Generate documentation
|
- name: Generate documentation
|
||||||
run: |
|
run: |
|
||||||
sphinx-build -b html -W --no-color docs build/sphinx/html
|
sphinx-build -b html -W --no-color docs build/sphinx/html
|
||||||
# TODO
|
- name: Upload coverage
|
||||||
# - name: Upload coverage
|
uses: codecov/codecov-action@v1.0.2
|
||||||
# uses: codecov/codecov-action@v1.0.2
|
with:
|
||||||
# if: github.event_name == 'push' && github.repository == 'sprockets/sprockets-statsd' && github.branch == 'main'
|
token: ${{ secrets.CODECOV_TOKEN }}
|
||||||
# with:
|
file: ./coverage.xml
|
||||||
# token: ${{ secrets.CODECOV_TOKEN }}
|
flags: unittests
|
||||||
# file: build/coverage.xml
|
env_vars: OS,PYTHON
|
||||||
# flags: unittests
|
fail_ci_if_error: true
|
||||||
# fail_ci_if_error: true
|
|
||||||
|
|
Loading…
Reference in a new issue