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: Test all feature combinations #277

Merged
merged 1 commit into from
Nov 19, 2024

Conversation

JoseSK999
Copy link
Contributor

Closes #241

This PR builds on top of #276. This is a significant improvement for floresta as we will now check that no feature setup is broken and all tests pass across feature sets.

The cargo caches used for the cross-testing job are now smaller due to release builds (600MB macOS, 780MB Linux, 720MB Windows). While CI runtime has increased, it's still reasonable: 8–9 minutes for macOS and Linux, and 19 minutes for Windows (the slowest GitHub Actions runner).

The first CI run after merging into master will take longer due to cache rebuilding, but subsequent runs will align with the ~19 minutes.

Commit message

  • Remove caching from the lint job as it is less critical for these quick checks (now takes ~1 min).
  • Introduce CACHE_VERSION to the cache key, updated bi-weekly.
  • Use only release artifacts (needed to not exceed the 10GB github actions limit, but also makes sense as we test the end user targets).

- Remove caching from the `lint` job as it is less critical for these quick checks (now takes ~1 min).
- Introduce `CACHE_VERSION` to the cache key, updated bi-weekly.
- Use only release artifacts (needed to not exceed the 10GB github actions limit, but also makes sense as we test the end user targets).
@JoseSK999 JoseSK999 marked this pull request as ready for review November 18, 2024 16:50
@Davidson-Souza
Copy link
Collaborator

ACK 4459555

@Davidson-Souza Davidson-Souza merged commit 176a17f into vinteumorg:master Nov 19, 2024
6 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.

ci: test all features combinations in a matrix
2 participants