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: fix test workflow isolation #79

Open
wants to merge 14 commits into
base: main
Choose a base branch
from

Conversation

matiassimon
Copy link

@matiassimon matiassimon commented Jan 28, 2024

Matrix strategy solution. Fixes #78.

Copy link

linux-foundation-easycla bot commented Jan 28, 2024

CLA Signed

The committers listed above are authorized under a signed CLA.

@JoshuaKGoldberg JoshuaKGoldberg changed the title Tests workflow isolation chore: fix test workflow isolation Jul 4, 2024
Copy link
Member

@JoshuaKGoldberg JoshuaKGoldberg left a comment

Choose a reason for hiding this comment

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

A great start, thanks for sending this in! 🚀

The general strategy looks great to me. Requesting changes mostly on deduplicating the package names.

.github/workflows/test-workflow.yml Outdated Show resolved Hide resolved
package.json Outdated Show resolved Hide resolved
.github/workflows/test-workflow.yml Outdated Show resolved Hide resolved
.github/workflows/test.yml Outdated Show resolved Hide resolved
.github/workflows/test-workflow.yml Outdated Show resolved Hide resolved
.github/workflows/test.yml Outdated Show resolved Hide resolved
@matiassimon matiassimon force-pushed the tests-workflow-isolation branch from 270d629 to e720653 Compare July 13, 2024 14:29
@JoshuaKGoldberg
Copy link
Member

Ah! I was waiting to be re-requested for review. But looks like this is ready for review.

Copy link
Member

@JoshuaKGoldberg JoshuaKGoldberg left a comment

Choose a reason for hiding this comment

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

Looks great to me, thanks @matiassimon! 🚀

The echo command is a bit intense 😄 but I think this is fine.

lerna.json Outdated Show resolved Hide resolved
package.json Outdated Show resolved Hide resolved
Copy link
Member

@JoshuaKGoldberg JoshuaKGoldberg left a comment

Choose a reason for hiding this comment

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

Err, looking at https://github.com/mochajs/mocha-examples/actions/runs/11238784553/job/31244347723 & co., it looks like these aren't actually running tests? @matiassimon something must have gotten borked in the updates. Could you please take a look?

Annotations
3 errors
Error when evaluating 'strategy' for job 'test'. mochajs/mocha-examples/.github/workflows/test-workflow.yml@5b8715b610c842673e674934abaa4acc707fcc3a (Line: 28, Col: 18): Error parsing fromJson,mochajs/mocha-examples/.github/workflows/test-workflow.yml@5b8715b610c842673e674934abaa4acc707fcc3a (Line: 28, Col: 18): Error reading JToken from JsonReader. Path '', line 0, position 0.,mochajs/mocha-examples/.github/workflows/test-workflow.yml@5b8715b610c842673e674934abaa4acc707fcc3a (Line: 28, Col: 18): Unexpected value ''

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

🛠️ Repo: Improving test isolation in Workflow
3 participants