diff options
author | Selwin Ong <selwin.ong@gmail.com> | 2020-08-21 17:03:43 +0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-21 17:03:43 +0700 |
commit | 08379fc571519fc1a12840e54e4641f16b5ab49c (patch) | |
tree | 468f38767d32b119296d65433596e6cd8428807a /.github | |
parent | a09a2ab3b49e20c95e76d37a8b496235e69fcfd8 (diff) | |
download | rq-08379fc571519fc1a12840e54e4641f16b5ab49c.tar.gz |
Codecov (#1326)
* Try codecov
* Modify codecov steps
* Strip out unused actions variables
* Remove coverage.yml
* Renamed test.yml to workflow.yml
* Minor styling fix
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/coverage.yml | 2 | ||||
-rw-r--r-- | .github/workflows/workflow.yml (renamed from .github/workflows/test.yml) | 9 |
2 files changed, 5 insertions, 6 deletions
diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml deleted file mode 100644 index 47fcb28..0000000 --- a/.github/workflows/coverage.yml +++ /dev/null @@ -1,2 +0,0 @@ -- name: Coveralls GitHub Action - uses: coverallsapp/github-action@v1.1.1 diff --git a/.github/workflows/test.yml b/.github/workflows/workflow.yml index 4d38bb2..8ae68cf 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/workflow.yml @@ -38,8 +38,9 @@ jobs: - name: Test with pytest run: | - RUN_SLOW_TESTS_TOO=1 pytest --cov rq --durations=5 + RUN_SLOW_TESTS_TOO=1 pytest --cov=./ --cov-report=xml --durations=5 - - name: Codecov - run: | - codecov + - name: Upload coverage to Codecov + uses: codecov/codecov-action@v1 + with: + file: ./coverage.xml
\ No newline at end of file |