Skip to content

Commit

Permalink
Update for automation checks (#134)
Browse files Browse the repository at this point in the history
* ignore catching errors raised later

* run tests on merge queue
  • Loading branch information
maxfischer2781 authored Jan 18, 2024
1 parent d72f0b1 commit ff1d810
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/workflows/unittests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ name: Unit Tests
on:
push:
pull_request:
merge_group:
schedule:
- cron: '0 10 * * 3'

Expand Down
1 change: 1 addition & 0 deletions .github/workflows/verification.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ name: Static Checks
on:
push:
pull_request:
merge_group:
schedule:
- cron: '0 10 * * 3'

Expand Down
2 changes: 1 addition & 1 deletion src/cobald/daemon/runners/asyncio_runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ async def _monitor_payload(self, payload: Callable[[], Awaitable]):
result = await payload()
except (asyncio.CancelledError, KeyboardInterrupt):
raise
except BaseException as e:
except BaseException as e: # noqa: B036
failure = e
else:
if result is None:
Expand Down
2 changes: 1 addition & 1 deletion src/cobald/daemon/runners/thread_runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def run_payload(self, payload):
def _monitor_payload(self, payload):
try:
result = payload()
except BaseException as e:
except BaseException as e: # noqa: B036
failure = e
else:
if result is None:
Expand Down

0 comments on commit ff1d810

Please sign in to comment.