Skip to content

Faster CI tests#7246

Merged
mhammond merged 1 commit intomozilla:mainfrom
bendk:push-yookuwoloqzy
Feb 26, 2026
Merged

Faster CI tests#7246
mhammond merged 1 commit intomozilla:mainfrom
bendk:push-yookuwoloqzy

Conversation

@bendk
Copy link
Contributor

@bendk bendk commented Feb 25, 2026

Use -p rather than --manifest-path. This allows cargo to cache dependencies better. In particular, this should result in less uniffi_bindgen builds.

Pull Request checklist

  • Breaking changes: This PR follows our breaking change policy
    • This PR follows the breaking change policy:
      • This PR has no breaking API changes, or
      • There are corresponding PRs for our consumer applications that resolve the breaking changes and have been approved
  • Quality: This PR builds and tests run cleanly
    • Note:
      • For changes that need extra cross-platform testing, consider adding [ci full] to the PR title.
      • If this pull request includes a breaking change, consider cutting a new release after merging.
  • Tests: This PR includes thorough tests or an explanation of why it does not
  • Changelog: This PR includes a changelog entry in CHANGELOG.md or an explanation of why it does not need one
    • Any breaking changes to Swift or Kotlin binding APIs are noted explicitly
  • Dependencies: This PR follows our dependency management guidelines
    • Any new dependencies are accompanied by a summary of the due diligence applied in selecting them.

@bendk bendk force-pushed the push-yookuwoloqzy branch from c4812e2 to d786e84 Compare February 25, 2026 23:04
Run all tests together rather than one at a time with `--manifest-path`
This allows cargo to cache dependencies better.  In particular, this
should result in less `uniffi_bindgen` builds.

Don't run `cargo clean` between each step, the underlying clippy issue
has been fixed.

Had to add an extra clippy allow, since the new method of running clippy
makes it get the 2024 edition lints.
@bendk bendk force-pushed the push-yookuwoloqzy branch from d786e84 to d2d7162 Compare February 25, 2026 23:44
@bendk
Copy link
Contributor Author

bendk commented Feb 26, 2026

Looks like this was a success.

@bendk bendk requested a review from mhammond February 26, 2026 01:13
- test-setup
- setup-rust-min-version
# tests.py doesn't support skipping tests, and we need to skip the systests on this rust version.
# It's not in the default workspace members, so just `cargo test` is OK.
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

AFAICT, this was just an old comment that doesn't make sense anymore. Tell me if I'm confused and there's still some value to it.

@bendk
Copy link
Contributor Author

bendk commented Feb 26, 2026

I could have documented things a bit better, but I don't think this will survive the monorepo move so it didn't seem worth it.

Copy link
Member

@mhammond mhammond left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks great!

@mhammond mhammond added this pull request to the merge queue Feb 26, 2026
Merged via the queue into mozilla:main with commit 623684c Feb 26, 2026
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants