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

Run test CI sequentially to avoid segmentation faults #759

Merged
merged 1 commit into from
Oct 4, 2024

Conversation

allanlasser
Copy link
Member

We've observed segmentation faults when running vitest in GitHub Actions. This may be because vitest runs multithreaded by default, and it uses too much memory in the task runner.

This adds the --run flag to our GitHub test workflow, which forces vitest to run sequentially. It may add a few seconds to overall test execution, but should be more stable.

Copy link

github-actions bot commented Oct 4, 2024

Coverage Report

Status Category Percentage Covered / Total
🔵 Lines 21.72% 6629 / 30514
🔵 Statements 21.72% 6629 / 30514
🔵 Functions 39.49% 141 / 357
🔵 Branches 56.88% 351 / 617
File CoverageNo changed files found.
Generated in workflow #551 for commit 5b976b9 by the Vitest Coverage Report Action

Copy link

netlify bot commented Oct 4, 2024

Deploy Preview for documentcloud-frontend ready!

Name Link
🔨 Latest commit 5b976b9
🔍 Latest deploy log https://app.netlify.com/sites/documentcloud-frontend/deploys/670004672cb6e60009066366
😎 Deploy Preview https://deploy-preview-759.muckcloud.com
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@allanlasser allanlasser merged commit 895bc50 into sveltekit Oct 4, 2024
10 checks passed
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