-
-
Notifications
You must be signed in to change notification settings - Fork 106
Pass environment variables defined in config.toml
#534
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
Conversation
f6e3c5c
to
5218f82
Compare
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.
I think this is a great start! Left a few comments.
45c29a4
to
6a54480
Compare
@sunshowers can you approve the workflow runs? |
Just did! Unfortunately each time you update I'll have to re-approve it. If you do another PR with a simple change (like the change to |
6a54480
to
5a5cea6
Compare
@sunshowers I updated this PR with my latest changes. It looks like for the $ cargo local-nt run -- basic Similarly, I don't see that the target triple was detected for the If I do set it in |
5a5cea6
to
1d9637e
Compare
9d86f6c
to
0fb1c28
Compare
@sunshowers Thanks for the feedback. I believe I addressed all the concerns. I think the tests are passing, except for the integration tests which try to run
From https://doc.rust-lang.org/cargo/reference/config.html#hierarchical-structure. I tried changing it so that the cargo search path uses the provided |
Thanks! Just saw this, apparently I missed your last message. Sorry about that!
Yes, that's right. So if you can find a way to flag those runs (perhaps by setting an environment variable like
I think matching cargo's behavior is the right thing to do here, and cargo's behavior is that
|
Codecov Report
@@ Coverage Diff @@
## main #534 +/- ##
==========================================
+ Coverage 76.79% 77.13% +0.33%
==========================================
Files 49 49
Lines 11426 11596 +170
==========================================
+ Hits 8775 8944 +169
- Misses 2651 2652 +1
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
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.
Looks good, just a couple of comments that I'll address myself before landing.
e51bd6b
to
27f7f8d
Compare
27f7f8d
to
65977f9
Compare
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.
I've done a number of updates and fixes myself, but the one I'm requesting you do is a more significant change.
I added commit 604e91b with just my changes to fix the tests. Let me know if you want me to squash the two commits together. |
Re CI:
nextest/fixtures/nextest-tests/tests/basic.rs Lines 165 to 172 in 27f7f8d
Do you understand why it's failing? (Unfortunately, I don't have a Windows machine to test on.) |
The macOS test is definitely flaky, I've been meaning to get to the bottom of it for a while. The Windows issues are pretty fun, I know what's going on. The rest of the PR looks really good. Let me see if I can fix it up and land it shortly. |
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.
Looks fantastic, thanks for working through everything.
b88612d
to
5ae48f1
Compare
I'm going to get this out in the next couple of days. Thanks again! |
BTW I ended up redoing the |
No description provided.