* Try codecov

* Modify codecov steps

* Strip out unused actions variables

* Remove coverage.yml

* Renamed test.yml to workflow.yml

* Minor styling fix
main
Selwin Ong 4 years ago committed by GitHub
parent a09a2ab3b4
commit 08379fc571
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1,2 +0,0 @@
- name: Coveralls GitHub Action
uses: coverallsapp/github-action@v1.1.1

@ -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

@ -168,7 +168,7 @@ class RQScheduler(object):
def stop(self):
logger.info("Scheduler stopping, releasing locks for %s...",
','.join(self._queue_names))
','.join(self._queue_names))
keys = [self.get_locking_key(name) for name in self._queue_names]
self.connection.delete(*keys)
self._status = self.Status.STOPPED
@ -200,7 +200,7 @@ class RQScheduler(object):
def run(scheduler):
logger.info("Scheduler for %s started with PID %s",
','.join(scheduler._queue_names), os.getpid())
','.join(scheduler._queue_names), os.getpid())
try:
scheduler.work()
except: # noqa

Loading…
Cancel
Save