Skip to content

Conversation

@maxreichmann
Copy link
Member

JIRA: CPOUI5FOUNDATION-1153

@maxreichmann maxreichmann force-pushed the setup-coveralls-monorepo branch from e7fc593 to d8b0868 Compare November 10, 2025 10:52
@maxreichmann maxreichmann marked this pull request as draft November 10, 2025 11:15
@maxreichmann maxreichmann force-pushed the setup-coveralls-monorepo branch 5 times, most recently from 11a4c09 to f44efd7 Compare November 10, 2025 12:09

- name: Run unit tests
run: npm run coverage
run: npm run unit
Copy link
Member

Choose a reason for hiding this comment

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

You can run external gh action and wait to complete.
Check this sample here: https://github.com/UI5/cli/pull/1173/files#diff-40a82b574505e06738cecbb56e70a40cb758eb7340d0531952d5d7e173f07769R38-R43

In this case, the coverage.yml can be triggered from here

Copy link
Member Author

@maxreichmann maxreichmann Nov 10, 2025

Choose a reason for hiding this comment

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

I considered this, but I'm not sure if we want to introduce so many dependencies within workflows. I personally prefer it more encapsulated for this regard (even though it's slower).

Copy link
Member

Choose a reason for hiding this comment

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

I think the separate workflow is fine, but with that we could question whether we actually need to run the tests in this workflow at all. As long as the coverage workflow also uses the minimum required Node.js version, I don't see a benefit of running the tests again in github-ci.yml.

@maxreichmann maxreichmann force-pushed the setup-coveralls-monorepo branch 10 times, most recently from 2f31ac1 to c3b4d8f Compare November 11, 2025 13:50
@maxreichmann maxreichmann force-pushed the setup-coveralls-monorepo branch from c3b4d8f to cf8ffa8 Compare November 11, 2025 13:51
@maxreichmann maxreichmann marked this pull request as ready for review November 11, 2025 14:00
@maxreichmann maxreichmann requested a review from a team November 11, 2025 14:00
Copy link
Member

@RandomByte RandomByte left a comment

Choose a reason for hiding this comment

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

LGTM

@maxreichmann maxreichmann merged commit ce96601 into main Nov 11, 2025
16 checks passed
@maxreichmann maxreichmann deleted the setup-coveralls-monorepo branch November 11, 2025 15:44
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.

5 participants