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

chore: allow opt-out out of slow tests #576

Merged
merged 1 commit into from
Apr 14, 2022

Conversation

sander2
Copy link
Member

@sander2 sander2 commented Apr 14, 2022

Allow opting out out of slow tests - this greatly speeds up tests locally. I chose to make it opt-out instead of opt-int so we can be sure that the CI includes everything.

I suggest setting up your vs code to use cargo test --workspace --features skip-slow-tests --lib --bins --tests. This skips 3 slow tests and skips doc-tests (which we do not use, but are slow to run even so). This runs in 13 seconds, compared to the 2m25s that cargo test --workspace takes.

@gregdhill gregdhill merged commit 12b3dd7 into interlay:master Apr 14, 2022
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