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

Run verifyGeneratorOutput in a isolated job #2796

Merged

Conversation

cortinico
Copy link
Member

@cortinico cortinico commented Jun 13, 2020

The idea behind this PR is to move the verifyGeneratorOutput gradle task outside of the Build matrix and run in a parallel job (still within the pre-merge workflow).

We spend ~1minute in verify the documentation on every build (and this happens 9 times, once for every job of the matrix). We could parallelise this and have a separate job that will just check the generated documentation.

This has also a nice side effect: contributors will see immediately if their build failed because of a test failure or because of missing documentation updates.

@cortinico cortinico marked this pull request as draft June 13, 2020 20:50
@cortinico cortinico force-pushed the nc/actions-verify-generator-parallel branch from 2559836 to 92c1ef4 Compare June 13, 2020 20:51
@codecov
Copy link

codecov bot commented Jun 13, 2020

Codecov Report

Merging #2796 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##             master    #2796   +/-   ##
=========================================
  Coverage     80.51%   80.51%           
  Complexity     2324     2324           
=========================================
  Files           386      386           
  Lines          6955     6955           
  Branches       1262     1262           
=========================================
  Hits           5600     5600           
  Misses          725      725           
  Partials        630      630           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 77fa5f0...92c1ef4. Read the comment docs.

@cortinico cortinico marked this pull request as ready for review June 13, 2020 23:15
@arturbosch arturbosch merged commit 4ca022b into detekt:master Jun 14, 2020
@arturbosch arturbosch added this to the 1.10.0 milestone Jun 14, 2020
@arturbosch arturbosch added the housekeeping Marker for housekeeping tasks and refactorings label Jun 14, 2020
@cortinico cortinico deleted the nc/actions-verify-generator-parallel branch June 14, 2020 11:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
housekeeping Marker for housekeeping tasks and refactorings
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants