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

Break test and coverage test into separate jobs #949

Merged
merged 2 commits into from
Aug 22, 2023

Conversation

alamb
Copy link
Contributor

@alamb alamb commented Aug 17, 2023

Rationale: coverage takes a non trivial amount of time and does not reuse the build artifacts from normal test. Thus running them in parallel will improve the speed of CI jobs

Before this PR

With this PR the total wallclock time is less than 2m:

@@ -75,11 +75,27 @@ jobs:
uses: actions/checkout@v2
- name: Test
run: cargo test --all-features

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The diff makes is somewhat hard to see, but I simply made a second job that runs coverage

@alamb
Copy link
Contributor Author

alamb commented Aug 22, 2023

Merging this one in to see how it works during the 0.38 dev cycle

@alamb alamb merged commit 9c2e8bc into apache:main Aug 22, 2023
10 checks passed
@alamb alamb deleted the alamb/faster_ci branch August 22, 2023 12:32
serprex pushed a commit to serprex/sqlparser-rs that referenced this pull request Nov 6, 2023
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.

1 participant