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: Fix failing doctests and run them in CI #17716

Merged
merged 4 commits into from
Sep 4, 2024

Conversation

kjarosh
Copy link
Member

@kjarosh kjarosh commented Aug 31, 2024

Unfortunately nextest does not support doctests yet (nextest-rs/nextest#16), they need to be run using cargo test.

This adds ~10s on Linux and macOS and ~15s on Windows.

@kjarosh kjarosh added the github_actions Pull requests that update GitHub Actions code label Aug 31, 2024
@kjarosh kjarosh added the waiting-on-review Waiting on review from a Ruffle team member label Aug 31, 2024
Copy link
Member

@torokati44 torokati44 left a comment

Choose a reason for hiding this comment

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

Sorry for my late response - none of my notes are actual blockers.

@kjarosh kjarosh force-pushed the doctests branch 2 times, most recently from f680654 to 94544d6 Compare September 4, 2024 20:07
The syntax used for modifying an environment variable did
nothing on Windows (PowerShell).
The environment variable FEATURES sets the set of features used
while testing, that makes it possible to have just one step
and prevent code duplication.
Unfortunately nextest does not support doc tests yet, they need to be
run using cargo test.
@torokati44
Copy link
Member

Thank you!

@torokati44 torokati44 merged commit d75d6da into ruffle-rs:master Sep 4, 2024
16 of 17 checks passed
@kjarosh kjarosh removed the waiting-on-review Waiting on review from a Ruffle team member label Sep 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
github_actions Pull requests that update GitHub Actions code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants