Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make it possible to manually trigger cron job #975

Merged
merged 1 commit into from
Jul 9, 2021

Conversation

rahulporuri
Copy link
Contributor

This PR makes it possible to manually trigger the cron job - using workflow_dispatch. Ref enthought/ets#68

@rahulporuri
Copy link
Contributor Author

the "macos-latest" + "pyqt5" job segfaulted

test_force_exit (pyface.tests.test_gui_application.TestGUIApplication) ... Traceback (most recent call last):
  File "/Users/runner/work/pyface/pyface/.edm/envs/pyface-test-3.6-pyqt5/lib/python3.6/site-packages/pyface/ui/qt4/gui.py", line 194, in _dispatch
    self._callable(*self._args, **self._kw)
  File "/Users/runner/work/pyface/pyface/.edm/envs/pyface-test-3.6-pyqt5/lib/python3.6/site-packages/pyface/application.py", line 220, in exit
    self._exit()
  File "/Users/runner/work/pyface/pyface/.edm/envs/pyface-test-3.6-pyqt5/lib/python3.6/site-packages/pyface/gui_application.py", line 236, in _exit
    self.gui.stop_event_loop()
AttributeError: '_Undefined' object has no attribute 'stop_event_loop'
Fatal Python error: Aborted

Current thread 0x0000000110b42dc0 (most recent call first):
  File "/Users/runner/work/pyface/pyface/.edm/envs/pyface-test-3.6-pyqt5/lib/python3.6/site-packages/pyface/ui/qt4/widget.py", line 61 in show
  File "/Users/runner/work/pyface/pyface/.edm/envs/pyface-test-3.6-pyqt5/lib/python3.6/site-packages/pyface/i_window.py", line 233 in open
  File "/Users/runner/work/pyface/pyface/.edm/envs/pyface-test-3.6-pyqt5/lib/python3.6/site-packages/pyface/i_splash_screen.py", line 75 in open
  File "/Users/runner/work/pyface/pyface/.edm/envs/pyface-test-3.6-pyqt5/lib/python3.6/site-packages/pyface/ui/qt4/gui.py", line 55 in __init__
  File "/Users/runner/work/pyface/pyface/.edm/envs/pyface-test-3.6-pyqt5/lib/python3.6/site-packages/pyface/gui_application.py", line 169 in start
  File "/Users/runner/work/pyface/pyface/.edm/envs/pyface-test-3.6-pyqt5/lib/python3.6/site-packages/pyface/tests/test_gui_application.py", line 76 in start
  File "/Users/runner/work/pyface/pyface/.edm/envs/pyface-test-3.6-pyqt5/lib/python3.6/site-packages/pyface/application.py", line 167 in run
  File "/Users/runner/work/pyface/pyface/.edm/envs/pyface-test-3.6-pyqt5/lib/python3.6/site-packages/pyface/tests/test_gui_application.py", line 245 in test_force_exit
  File "/Users/runner/work/pyface/pyface/.edm/envs/pyface-test-3.6-pyqt5/lib/python3.6/unittest/case.py", line 605 in run
  File "/Users/runner/work/pyface/pyface/.edm/envs/pyface-test-3.6-pyqt5/lib/python3.6/unittest/case.py", line 653 in __call__
  File "/Users/runner/work/pyface/pyface/.edm/envs/pyface-test-3.6-pyqt5/lib/python3.6/unittest/suite.py", line 122 in run
  File "/Users/runner/work/pyface/pyface/.edm/envs/pyface-test-3.6-pyqt5/lib/python3.6/unittest/suite.py", line 84 in __call__
  File "/Users/runner/work/pyface/pyface/.edm/envs/pyface-test-3.6-pyqt5/lib/python3.6/unittest/suite.py", line 122 in run
  File "/Users/runner/work/pyface/pyface/.edm/envs/pyface-test-3.6-pyqt5/lib/python3.6/unittest/suite.py", line 84 in __call__
  File "/Users/runner/work/pyface/pyface/.edm/envs/pyface-test-3.6-pyqt5/lib/python3.6/unittest/suite.py", line 122 in run
  File "/Users/runner/work/pyface/pyface/.edm/envs/pyface-test-3.6-pyqt5/lib/python3.6/unittest/suite.py", line 84 in __call__
  File "/Users/runner/work/pyface/pyface/.edm/envs/pyface-test-3.6-pyqt5/lib/python3.6/unittest/suite.py", line 122 in run
  File "/Users/runner/work/pyface/pyface/.edm/envs/pyface-test-3.6-pyqt5/lib/python3.6/unittest/suite.py", line 84 in __call__
  File "/Users/runner/work/pyface/pyface/.edm/envs/pyface-test-3.6-pyqt5/lib/python3.6/unittest/runner.py", line 176 in run
  File "/Users/runner/work/pyface/pyface/.edm/envs/pyface-test-3.6-pyqt5/lib/python3.6/unittest/main.py", line 256 in runTests
  File "/Users/runner/work/pyface/pyface/.edm/envs/pyface-test-3.6-pyqt5/lib/python3.6/unittest/main.py", line 95 in __init__
  File "/Users/runner/work/pyface/pyface/.edm/envs/pyface-test-3.6-pyqt5/lib/python3.6/unittest/__main__.py", line 18 in <module>
  File "/Users/runner/work/pyface/pyface/.edm/envs/pyface-test-3.6-pyqt5/lib/python3.6/site-packages/coverage/execfile.py", line 183 in run_python_file
  File "/Users/runner/work/pyface/pyface/.edm/envs/pyface-test-3.6-pyqt5/lib/python3.6/site-packages/coverage/execfile.py", line 113 in run_python_module
  File "/Users/runner/work/pyface/pyface/.edm/envs/pyface-test-3.6-pyqt5/lib/python3.6/site-packages/coverage/cmdline.py", line 627 in do_run
  File "/Users/runner/work/pyface/pyface/.edm/envs/pyface-test-3.6-pyqt5/lib/python3.6/site-packages/coverage/cmdline.py", line 483 in command_line
  File "/Users/runner/work/pyface/pyface/.edm/envs/pyface-test-3.6-pyqt5/lib/python3.6/site-packages/coverage/cmdline.py", line 756 in main
  File "/Users/runner/work/pyface/pyface/.edm/envs/pyface-test-3.6-pyqt5/lib/python3.6/site-packages/coverage/__main__.py", line 8 in <module>
  File "/Users/runner/work/pyface/pyface/.edm/envs/pyface-test-3.6-pyqt5/lib/python3.6/runpy.py", line 85 in _run_code
  File "/Users/runner/work/pyface/pyface/.edm/envs/pyface-test-3.6-pyqt5/lib/python3.6/runpy.py", line 193 in _run_module_as_main
Command '['/Users/runner/work/pyface/pyface/.edm/envs/edm/bin/edm', 'run', '-e', 'pyface-test-3.6-pyqt5', '--', 'python', '-Xfaulthandler', '-m', 'coverage', 'run', '-p', '-m', 'unittest', 'discover', '-v', 'pyface']' returned non-zero exit status 250.

Copy link
Contributor

@aaronayres35 aaronayres35 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@rahulporuri rahulporuri merged commit e13a627 into master Jul 9, 2021
@rahulporuri rahulporuri deleted the rahulporuri-patch-1 branch July 9, 2021 12:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants