Skip to content

Run tests in parallel on CI #495

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

Merged
merged 1 commit into from
Nov 25, 2021
Merged

Conversation

dnadoba
Copy link
Collaborator

@dnadoba dnadoba commented Nov 25, 2021

Motivation

I locally use parallel and randomised testing in Xcode since two months and did not yet encounter any flaky tests. I therefore think we can run tests in parallel on CI as well.

Changes

add --parallel to swift test invocation

@Lukasa Lukasa added the semver/none No version bump required. label Nov 25, 2021
@Lukasa
Copy link
Collaborator

Lukasa commented Nov 25, 2021

It's good hygiene, if our tests can run in parallel, for us to do it. 👍 Great work!

@dnadoba
Copy link
Collaborator Author

dnadoba commented Nov 25, 2021

It also cuts our CI times in half from 8-10 minutes down to 4-5 minutes 🥳

@dnadoba dnadoba merged commit 3b18e76 into swift-server:main Nov 25, 2021
@dnadoba dnadoba deleted the dn-test-parallel branch November 25, 2021 19:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
semver/none No version bump required.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants