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

debugging CI issues #787

Open
timotheecour opened this issue Jul 20, 2021 · 0 comments
Open

debugging CI issues #787

timotheecour opened this issue Jul 20, 2021 · 0 comments

Comments

@timotheecour
Copy link
Owner

timotheecour commented Jul 20, 2021

when a problem can't be reproduced locally and needs to be debugged in CI, try this:

  • disable all CI except 1 to have faster turnaround and avoid too much CI usage; can be done via:
  • rm -rf .builds/
  • rm -rf .github/workflows
  • in azure-pipelines.yml, comment out all except 1 elements of matrix, eg:
      OSX_amd64:
        vmImage: 'macOS-10.15'
        CPU: amd64
  • in koch.nim in runCI, skip whatever can be skipped to go straight to the thing that causes problems; eg see commented out code:
  when false: # debugging: when you need to run only 1 test in CI, use something like this:
    execFold("debugging test", "nim r tests/stdlib/tosproc.nim")
    doAssert false, "debugging only"

links

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant