-
Notifications
You must be signed in to change notification settings - Fork 378
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
Add integration tests. #873
Conversation
ce51acc
to
8889cf0
Compare
Since this would slow down our CI by quite a bit by default ( bors try --target x |
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
9af699c
to
ab3fe77
Compare
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
Ah that's unusual. Not sure why that's the case, it should be defining |
Aha, I get it now! You'll have to forward See https://github.com/cross-rs/cross/runs/7169840511?check_suite_focus=true#step:19:22 where there's no profraw files and https://github.com/cross-rs/cross/runs/7169840371?check_suite_focus=true#step:10:7 where there is |
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
hmm, still not working
I don't know why. |
I have no idea either, I might need to also forward all of these as well:
|
oh.. ofc, need to forward |
Incremental would be good to disable, as we don't use the incremental data |
I've just forwarded everything, since if they're provided by the action, there's probably a good reason for them. bors try --target aarch64-unknown-linux-gnu |
This comment was marked as outdated.
This comment was marked as outdated.
Code coverage still isn't working. At least the code tests to work on my machine. |
We need to make the target folder available at the same path/the path in LLVM_PROFILE, easiest solution is to do edit: if we also do |
bors try --target aarch64-unknown-linux-gnu |
tryBuild succeeded: |
Nothing is working so I'm going to throw in a panic and see if it just "works". |
Let's see if it panics: |
It is working, no? https://github.com/cross-rs/cross/runs/7170509736 |
Wait it is, maybe the code coverage I got was outdated. I'll squash the commits into one. |
Adds an an integration test for remote Docker support with and without persistent data volumes, and adds it to CI. In addition, we've added integration tests for custom toolchains using `cargo-bisect-rustc`, and tests for docker-in-docker scenarios. Also changes the workflow to ensure publish depends on fmt, clippy, and cargo-deny. Fixes a bug when removing data volumes, since it does not require a target. The docker-in-docker scenarios both run the cross unittests, and test workspace and manifest paths.
tryBuild succeeded: |
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.
bors r+
awesome
Build succeeded: |
Adds an an integration test for remote Docker support with and without persistent data volumes, and adds it to CI. In addition, we've added integration tests for custom toolchains using
cargo-bisect-rustc
. Also changes the workflow to ensure publish depends on fmt, clippy, and cargo-deny. Fixes a bug when removing data volumes, since it does not require a target.