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

Issue, cypress parallel jobs not being marked green. #44

Closed
joegaudet opened this issue Oct 8, 2020 · 7 comments · Fixed by #283
Closed

Issue, cypress parallel jobs not being marked green. #44

joegaudet opened this issue Oct 8, 2020 · 7 comments · Fixed by #283
Labels
documentation Improvements or additions to documentation

Comments

@joegaudet
Copy link

Hey, tried out your actions, set them up as expected and they seem to work great. However I'm using cypress with parallel runs to speed up testing, and as a result those required checks are not being marked as having passed.

Any thoughts?

Screen Shot 2020-10-08 at 4 45 22 PM

@joegaudet
Copy link
Author

I also see these skips here, not sure if they are working to mark the flow green as well.

Screen Shot 2020-10-08 at 4 46 39 PM

@fkirc
Copy link
Owner

fkirc commented Oct 9, 2020

In my experience, GitHub accepts required checks that have been skipped.
This means that you should be able to merge the PR in your screenshot.
In other words, if your skipping-logic is doing something sane, then you can treat skipped checks as "passed" checks.

@joegaudet
Copy link
Author

joegaudet commented Oct 10, 2020 via email

@fkirc
Copy link
Owner

fkirc commented Oct 28, 2020

In general, parallelized checks shouldn't be a problem for this Action.
The newest release contains a concurrent_skipping option. If concurrent_skipping is set to false, then parallel workflows won't be skipped.

Nevertheless, the concurrent_skipping option is more about entire workflows.
If we are talking about individual jobs or steps, then it is doable to place multiple copies of skip-duplicate-actions within a single workflow.
Alternatively, a single pre_job can be used to skip multiple subsequent jobs.

@joegaudet
Copy link
Author

joegaudet commented Oct 28, 2020 via email

@fkirc
Copy link
Owner

fkirc commented Oct 28, 2020

One example that might be helpful is the following workflow of GitHub docs: https://github.com/github/docs/blob/main/.github/workflows/test.yml

They have a rather complex test-setup, and they are using skip-duplicate-actions to optimize GitHub's own documentation-workflows.

@fkirc
Copy link
Owner

fkirc commented Nov 7, 2020

Perhaps this is related to my problem with "matrix testing": #56
Right now, I believe that one additional if per step is needed in order to support "matrix testing".

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

Successfully merging a pull request may close this issue.

3 participants