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

Use cargo nextest for running our tests #2495

Merged
merged 1 commit into from
Feb 19, 2022

Conversation

cwfitzgerald
Copy link
Member

Connections

None

Description

This uses cargo-nextest to run our tests.

This provides a couple of benefits:

  • Runs each test in its own process, preventing issues with EGL's single threadedness.
  • Runs all tests individually and in parallel.

Testing

It is.

@cwfitzgerald cwfitzgerald force-pushed the nextest branch 4 times, most recently from c112c60 to 6bf7903 Compare February 19, 2022 06:22
@cwfitzgerald
Copy link
Member Author

See https://github.com/gfx-rs/wgpu/runs/5257083717?check_suite_focus=true for a good example of how clear this new test framework makes errors extremely clear, even if we didn't see them before.

@cwfitzgerald
Copy link
Member Author

I think this is a much better experience than what we had before, for basically zero CI cost.

.github/workflows/ci.yml Show resolved Hide resolved
@cwfitzgerald cwfitzgerald enabled auto-merge (squash) February 19, 2022 15:49
@cwfitzgerald cwfitzgerald merged commit 373cc61 into gfx-rs:master Feb 19, 2022
@cwfitzgerald cwfitzgerald deleted the nextest branch February 19, 2022 15:50
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