Skip to content

Move formatting workflows into separate file#4480

Merged
jlerbsc merged 3 commits intojavaparser:masterfrom
johannescoetzee:johannes/separate-style-workflows
Jun 24, 2024
Merged

Move formatting workflows into separate file#4480
jlerbsc merged 3 commits intojavaparser:masterfrom
johannescoetzee:johannes/separate-style-workflows

Conversation

@johannescoetzee
Copy link
Copy Markdown
Collaborator

@johannescoetzee johannescoetzee commented Jun 21, 2024

This PR moves the style/formatting jobs out of the maven tests workflow and into a new "Check codegen and formatting" workflow. The benefit of this is that these will also be separated in the workflow runs panel (see https://github.com/javaparser/javaparser/actions once they've run for this PR). It also changes the names of the tasks to

  • Check codegen and formatting / Validate checkstyle (pull_request)
  • Check codegen and formatting / Spotless check (pull_request)

which are clearer than the previous

  • Build and test (using maven) / Validate code generation and formatting (pull_request)
  • Build and test (using maven) / Validate checkstyle (pull_request)

This will make it easier to separate test failures from style issues from the overview panel. The drawback is that each PR will generate 2 entries in this overview, which means finding workflows run for a specific pr/merge could be harder. In my opinion, the benefits outweigh the drawbacks, but please feel free to close this PR if you disagree :)

@codecov
Copy link
Copy Markdown

codecov bot commented Jun 21, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 57.877%. Comparing base (8725b40) to head (f4fe6f3).
Report is 16 commits behind head on master.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff            @@
##            master     #4480   +/-   ##
=========================================
  Coverage   57.877%   57.877%           
=========================================
  Files          507       507           
  Lines        29737     29737           
  Branches      5245      5245           
=========================================
  Hits         17211     17211           
  Misses       10395     10395           
  Partials      2131      2131           
Flag Coverage Δ
AlsoSlowTests 57.877% <ø> (ø)
javaparser-core 57.877% <ø> (ø)
javaparser-symbol-solver 57.877% <ø> (ø)
jdk-10 57.830% <ø> (-0.014%) ⬇️
jdk-11 57.843% <ø> (ø)
jdk-12 57.830% <ø> (-0.014%) ⬇️
jdk-13 57.843% <ø> (ø)
jdk-14 57.830% <ø> (-0.014%) ⬇️
jdk-15 57.843% <ø> (ø)
jdk-16 57.843% <ø> (ø)
jdk-17 57.843% <ø> (ø)
jdk-18 57.843% <ø> (ø)
jdk-8 57.846% <ø> (ø)
jdk-9 57.830% <ø> (-0.011%) ⬇️
macos-latest 57.867% <ø> (+0.033%) ⬆️
ubuntu-latest 57.837% <ø> (-0.031%) ⬇️
windows-latest 57.853% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.


Continue to review full report in Codecov by Sentry.

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

@jlerbsc jlerbsc merged commit 1df12b1 into javaparser:master Jun 24, 2024
@jlerbsc jlerbsc added this to the next release milestone Jun 24, 2024
@jlerbsc jlerbsc added the PR: Changed A PR that changes implementation without changing behaviour (e.g. performance) label Jun 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

PR: Changed A PR that changes implementation without changing behaviour (e.g. performance)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants