-
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
Use TestEnv #89
Use TestEnv #89
Conversation
Codecov Report
@@ Coverage Diff @@
## master #89 +/- ##
==========================================
- Coverage 96.24% 93.69% -2.56%
==========================================
Files 7 7
Lines 533 460 -73
==========================================
- Hits 513 431 -82
- Misses 20 29 +9
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
# Conflicts: # src/TestReports.jl # src/runner.jl
src/runner.jl
Outdated
testfilepath = gettestfilepath(ctx, pkgspec) | ||
|
||
ctx, pkgspec = try | ||
TestEnv.ctx_and_pkgspec(pkg) |
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.
ideally we wouldn't use the TestEnv internals here.
Because we would like to contain all the evil of accessing interals of Pkg into TestEnv so TestReports can be safe from it
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.
but i don't think should block on this
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.
Added a TODO and will make an issue after merge
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.
This is clearly a solid improvement
I've just merged in main and this seems to be passing, picking up my work from over two years ago! Unfortunately I don't remember why this wasn't working before or why I wasn't happy with it, possibly because it failed for V1 (but then I dropped tests for V1). Would be grateful for @oxinabox and/or @omus to take a look at this 🙏
Hopefully will fix a few issues (e.g. #121 #122 )
edit: Just added back in V1 tests so will see what happens
edit 2: They fail, and they fail on master too (at least locally for me). At this point I think the best way forward is to remove 1.0 unless anyone has any objections?