Skip to content

Conversation

cklin
Copy link
Contributor

@cklin cklin commented Sep 24, 2025

Some tests require the --serial flag to pass.

Risk assessment

For internal use only. Please select the risk level of this change:

  • Low risk: Changes are fully under feature flags, or have been fully tested and validated in pre-production environments and are highly observable, or are documentation or test only.

Merge / deployment checklist

  • Confirm this change is backwards compatible with existing workflows.
  • Consider adding a changelog entry for this change.
  • Confirm the readme and docs have been updated if necessary.

Some tests require the --serial flag to pass.
@cklin cklin marked this pull request as ready for review September 24, 2025 18:11
@cklin cklin requested a review from a team as a code owner September 24, 2025 18:11
@Copilot Copilot AI review requested due to automatic review settings September 24, 2025 18:12
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR modifies the test execution command to add the --serial flag for running individual test files, ensuring that tests that require sequential execution can pass properly.

# Run the tests for a single file
test_file filename: build
npx ava --verbose {{filename}}
npx ava --serial --verbose {{filename}}
Copy link
Member

Choose a reason for hiding this comment

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

Suggestion: add a command for running an individual test to package.json and then call that from here?

@cklin cklin merged commit e4b85ab into main Sep 24, 2025
339 of 592 checks passed
@cklin cklin deleted the cklin/just-test_file-serial branch September 24, 2025 21:47
@github-actions github-actions bot mentioned this pull request Sep 25, 2025
8 tasks
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.

3 participants