-
Notifications
You must be signed in to change notification settings - Fork 11
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
Can't run tests in CI: TestItemRunner.compute_line_column(content, 1) == (line = 1, column = 1) error #94
Comments
In the (abridged) report, I see
so TestItemRunner is clearly picking up tests within its own source code. |
I was able to work around this and get tests to pass in CI with this
but I don't understand why it's picking these tests up in the first place and the workaround is needed. |
It looks to me as if the Julia depot being used is a child folder of the package your are testing? This path So what happens then is that all the packages that you are using are cloned into Is there a reason why the depot ends up being there? That is a bit of a weird choice ;) |
But apart from that, if we fix #41 then this should also address the situation here. |
Ah, good catch! Thanks for the explanation. Indeed we did intentionally set |
I can use
TestItemRunner
locally fine. It works both in VSCode's UI and also doing] test
in my package using a basicruntests.jl
However, when I run in our CI system, the tests fail because it's trying to run a test from within TestItemRunner itself.
I tried adding a filter to ensure it wouldn't pick up tests in TestItemRunner:
but this didn't work. Any ideas?
The text was updated successfully, but these errors were encountered: