Skip to content
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

ci: utilize cargo-hack partitions to speed up tests #265

Merged
merged 3 commits into from
Jan 7, 2025

Conversation

DDtKey
Copy link
Contributor

@DDtKey DDtKey commented Jan 7, 2025

We have many modules under separate features and CI takes too long.
In order to improve it, we can try to utilize partitions and run several machines at once.

Also, it may solve issue with disk space required.

@DDtKey
Copy link
Contributor Author

DDtKey commented Jan 7, 2025

I find this useful:

  • stable tests take 12min max
  • nightly takes just 3-5 minutes

Used to be ~25-30 minutes before.
So it's significantly better IMO (x2 at least)

@DDtKey DDtKey marked this pull request as ready for review January 7, 2025 03:10
@DDtKey DDtKey merged commit 1332833 into main Jan 7, 2025
11 of 12 checks passed
@github-actions github-actions bot mentioned this pull request Jan 7, 2025
DDtKey pushed a commit that referenced this pull request Jan 7, 2025
## 🤖 New release
* `testcontainers-modules`: 0.11.4 -> 0.11.5 (✓ API compatible changes)

<details><summary><i><b>Changelog</b></i></summary><p>

<blockquote>

## [0.11.5] - 2025-01-07

### Bug Fixes

- Fix clippy errors (#251)

### Documentation

- Add nats example (#239)

### Features

- Add "pro" variant for LocalStack image (#255)
- Add `Valkey` module (#252)
- Add `RQLite` module (#261)

### Miscellaneous Tasks

- Update async-nats requirement from 0.37.0 to 0.38.0 (#245)
- Fix oracle tests (#263)
- Bump MSRV to `1.81` (#264)
- Utilize cargo-hack partitions to speed up tests (#265)

<!-- generated by git-cliff -->
</blockquote>


</p></details>

---
This PR was generated with
[release-plz](https://github.com/release-plz/release-plz/).

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
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.

1 participant