Skip to content

Commit

Permalink
only run OPP test, and enable asyncio debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
toomanybrians committed Sep 16, 2023
1 parent 59e9140 commit a4c4b72
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/run_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
pip install -e .
- name: Run tests
run: coverage run -m unittest discover -v -s mpf/tests
run: coverage run -m unittest -v mpf.tests.test_OPP

- name: Upload coverage data to coveralls.io
run: coveralls --service=github
Expand Down
3 changes: 3 additions & 0 deletions mpf/tests/MpfTestCase.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,9 @@ class MpfTestCase(unittest.TestCase):
def __init__(self, methodName='runTest'):
LogMixin.unit_test = True

# Temp to help debug
asyncio.get_event_loop().set_debug(True)

super().__init__(methodName)
self.machine = None # type: TestMachineController
self.startup_error = None
Expand Down

0 comments on commit a4c4b72

Please sign in to comment.