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

Add rspec ci #4

Merged
merged 5 commits into from
Dec 2, 2022
Merged

Add rspec ci #4

merged 5 commits into from
Dec 2, 2022

Conversation

mdzhang
Copy link

@mdzhang mdzhang commented Dec 1, 2022

asana

skip a test that github actions didn't like since i figure running these and skipping that test is better than not running any tests whatsoever

remove coveralls reporter also failing ci ootb

hopefully the official ruby sdk is out before we touch anything remotely related to worker signals

example github action signal failure: https://github.com/indie-technologies/temporal-ruby/actions/runs/3596648346/jobs/6057690741

  #start
    starts a poller for each namespace/task list combination
    can have an activity poller with a different thread pool size
    sleeps while waiting for the shutdown
    when middleware is configured
      starts pollers with correct middleware
    signal handling
##[debug]Re-evaluate condition on job cancellation for step: 'Run bundle exec rspec --format documentation'.
##[debug]Skip Re-evaluate condition on runner shutdown.
      traps TERM signal
      traps INT signal


...


Error: The operation was canceled.
##[debug]System.OperationCanceledException: The operation was canceled.
##[debug]   at System.Threading.CancellationToken.ThrowOperationCanceledException()
##[debug]   at GitHub.Runner.Sdk.ProcessInvoker.ExecuteAsync(String workingDirectory, String fileName, String arguments, IDictionary`2 environment, Boolean requireExitCodeZero, Encoding outputEncoding, Boolean killProcessOnCancel, Channel`1 redirectStandardIn, Boolean inheritConsoleHandler, Boolean keepStandardInOpen, Boolean highPriorityProcess, CancellationToken cancellationToken)
##[debug]   at GitHub.Runner.Common.ProcessInvokerWrapper.ExecuteAsync(String workingDirectory, String fileName, String arguments, IDictionary`2 environment, Boolean requireExitCodeZero, Encoding outputEncoding, Boolean killProcessOnCancel, Channel`1 redirectStandardIn, Boolean inheritConsoleHandler, Boolean keepStandardInOpen, Boolean highPriorityProcess, CancellationToken cancellationToken)
##[debug]   at GitHub.Runner.Worker.Handlers.DefaultStepHost.ExecuteAsync(IExecutionContext context, String workingDirectory, String fileName, String arguments, IDictionary`2 environment, Boolean requireExitCodeZero, Encoding outputEncoding, Boolean killProcessOnCancel, Boolean inheritConsoleHandler, String standardInInput, CancellationToken cancellationToken)
##[debug]   at GitHub.Runner.Worker.Handlers.ScriptHandler.RunAsync(ActionRunStage stage)
##[debug]   at GitHub.Runner.Worker.ActionRunner.RunAsync()
##[debug]   at GitHub.Runner.Worker.StepsRunner.RunStepAsync(IStep step, CancellationToken jobCancellationToken)

@mdzhang mdzhang marked this pull request as ready for review December 1, 2022 21:37
@mdzhang mdzhang merged commit 59eda84 into master Dec 2, 2022
@mdzhang mdzhang deleted the rspec-ci branch December 2, 2022 17:04
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