Skip to content

Conversation

@Byron
Copy link
Collaborator

@Byron Byron commented Aug 8, 2024

#4632 introduced benchmarks which might stop working as they are not executed on CI, nor do I think they are tested by CI right now.

This PR validates this assumption and corrects it.

There maybe some minor cleaups if other issues are found.

Tasks

  • learn if benches are tested - they are not.
  • fix the issue

Notes

  • This PR adds about 4 minutes to the runtime of rust-lint as it now runs cargo-check on Linux as well. Previously it was only used on Windows. Overall, it doesn't increase the runtime though and if that was a concern, one could probably try not to use docker to save time for the initial setup.
  • A script, scripts/check.sh was deleted as it is unused. It's also not used during publishing as far as I can tell, even though there other scripts are used which can be found by the usual means.

`check.sh` could not be found anywhere in the codebase.
@vercel
Copy link

vercel bot commented Aug 8, 2024

@Byron is attempting to deploy a commit to the GitButler Team on Vercel.

A member of the Team first needs to authorize it.

@github-actions github-actions bot added the rust Pull requests that update Rust code label Aug 8, 2024
@Byron Byron mentioned this pull request Aug 8, 2024
6 tasks
Byron added 2 commits August 8, 2024 16:29
This way, it's not possible anymore to accidentally break code just because CI doesn't try to build it.

Note that this is unrelated to features, which would still need to be specified or built individually
by CI.
@Byron Byron marked this pull request as ready for review August 8, 2024 14:34
@Byron Byron enabled auto-merge August 8, 2024 14:34
@Byron Byron disabled auto-merge August 8, 2024 14:42
@Byron Byron enabled auto-merge August 8, 2024 14:44
@Byron Byron requested a review from krlvi August 8, 2024 14:44
@Byron Byron merged commit 9a4b86a into gitbutlerapp:master Aug 9, 2024
@Byron Byron deleted the assure-benches branch August 9, 2024 08:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

rust Pull requests that update Rust code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants