feat: Add an option to set act executor concurrency by cli option.#2762
feat: Add an option to set act executor concurrency by cli option.#2762mergify[bot] merged 3 commits intonektos:masterfrom
Conversation
|
Need help. Can not figuring out what causes the test to fail. I does not seem to be related to the actual change |
|
FYI I disabled test "TestRunEventHostEnvironment/defaults-run" in #2761
|
ChristopherHX
left a comment
There was a problem hiding this comment.
This kind of concurrency is very broken and the last time making this configurable as it currently is was rejected
- matrix jobs have it's own independent max-parallel
- planner slices jobs into stages
- all jobs of a stage need to finish for dependent jobs to run
- this is most likely a leftover from the initial GitHub Actions Alpha 2018-2019
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #2762 +/- ##
==========================================
+ Coverage 74.65% 74.67% +0.01%
==========================================
Files 73 73
Lines 11139 11147 +8
==========================================
+ Hits 8316 8324 +8
Misses 2186 2186
Partials 637 637 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
done. now concurrent jobs can be set by the cli parameter |
ChristopherHX
left a comment
There was a problem hiding this comment.
I think this is good to merge
|
I'm currently working on an action to run steps in parallel instead of sequential to safe some time and money on steps with a lot of IO like browser tests. https://github.com/qoomon/actions--parallel-steps Under the hood I use act to run each step in an own parallel job. However on 4 job can run in parallel currently. Therefore I would be awesome to have this PR merged to make my action work with more jobs than just the amount of cpus of the action runner. |
|
BTW I you are interested in a act action, I'm happy to build and contribute the action. This action would then run a whole workflow as a step. e.g. - uses: nektos/act@v0.2.77
with:
workflow: .github/workflows/test.yaml |
|
This pull request has been removed from the queue for the following reason: The merge conditions cannot be satisfied due to failing checks. You may have to fix your CI before adding the pull request to the queue again. |
Fix #2756