ci: Use cargo nextest for testing in CI - #301
Closed
mhovd wants to merge 1 commit into
Closed
Conversation
Contributor
|
| Project | PMcore |
| Branch | cargo-nextest |
| Testbed | mhovd-pgx |
Click to view all benchmark results
| Benchmark | Latency | Benchmark Result milliseconds (ms) (Result Δ%) | Upper Boundary milliseconds (ms) (Limit %) |
|---|---|---|---|
| bimodal_ke_npag | 📈 view plot 🚷 view threshold | 4,285.60 ms(-12.65%)Baseline: 4,906.32 ms | 6,113.39 ms (70.10%) |
| bimodal_ke_npod | 📈 view plot 🚷 view threshold | 1,448.40 ms(+0.55%)Baseline: 1,440.50 ms | 2,121.87 ms (68.26%) |
| bimodal_ke_postprob | 📈 view plot 🚷 view threshold | 521.79 ms(+43.10%)Baseline: 364.64 ms | 926.99 ms (56.29%) |
Contributor
There was a problem hiding this comment.
Pull request overview
This PR updates the Rust CI workflow to use cargo-nextest for running tests, aiming to reduce overall CI runtime while also producing JUnit output for reporting.
Changes:
- Install
cargo-nextestin CI and switchcargo testinvocations tocargo nextest run --profile ciacross feature sets. - Add a
nextestCI profile in.config/nextest.toml, including retries and JUnit XML output configuration. - Upload and publish JUnit test reports from Nextest runs, and grant the workflow
checks: writepermission to publish check-based reports.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
.github/workflows/rust.yml |
Switches test execution to cargo nextest, adds JUnit artifact upload + check report publishing, and updates permissions for report publication. |
.config/nextest.toml |
Introduces Nextest profiles (default, ci) including timeouts, retries, and JUnit output path. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Should speed up tests in CI