-
Notifications
You must be signed in to change notification settings - Fork 1
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
ci: add tests workflow #120
Conversation
e68fafb
to
2b24f18
Compare
2b24f18
to
da81cc3
Compare
ec35eff
to
4169a32
Compare
267cd8d
to
8200a9e
Compare
.github/workflows/tests.yml
Outdated
run: nimble build | ||
|
||
- name: Run tests | ||
run: ./test || exit 0 # TODO: Stop allowing tests to fail. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do tests fail now? Even if they do I think we can still merge prs until we fix all tests
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, tests do fail now.
I'm OK with removing the || exit 0
and not requiring a PR that targets jtv/v2
in this repo to pass all checks before merging - then the check status actually reflects the tests. However, currently the branch protection rule in this repo blocks this PR being merged.
For now, make the workflow indicate success even if the tests fail. This workflow still asserts that `nimble build` succeeds, which it didn't until now on Linux.
This reverts the previous commit. On macOS x86_64, the workflow errored with: clang: error: no such file or directory: '/Users/runner/.local/c0/libs/libffi.a' and on macOS arm64 it errored with: ERROR: unable to find archive matching pattern macosx_arm64.tar.xz because the nim nightlies repo doesn't have binary builds for that platform.
This reverts commit bc55af8.
8200a9e
to
683db8f
Compare
Bump to the latest release. See the new commits [1]. [1] actions/checkout@v4.1.1...v4.1.4
Bump to the latest release. See the new commits [1]. [1] iffy/install-nim@v5.0.3...v5.0.4
Be consistent with version comments in our workflows elsewhere.
@miki725 Following up from #120 (comment) and later discussion, our preference was for us to disable/bypass the branch protection rule that requires checks to succeed, and merge this PR as-is, right? If so, could you please disable the branch protection rule for |
v2 is not a protected branch. as such there are no merge requirements here |
|
Add a workflow that runs
nimble build
andtest
.The tests currently fail,
so make the workflow indicate success even if the tests fail for now. This workflow is still useful because it ensures thatnimble build
succeeds - that command errored on Linux until recently (#128).Closes #121
To-do:
jtv/v2
branchjtv/v2
dev
if we won't use that branch in the future