summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/coverage.yml2
-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