Skip to content

Exclude unavailable macos <-> java version combinations from github tests#4479

Merged
jlerbsc merged 3 commits intojavaparser:masterfrom
johannescoetzee:johannes/ignore-unavailable-versions
Jun 24, 2024
Merged

Exclude unavailable macos <-> java version combinations from github tests#4479
jlerbsc merged 3 commits intojavaparser:masterfrom
johannescoetzee:johannes/ignore-unavailable-versions

Conversation

@johannescoetzee
Copy link
Copy Markdown
Collaborator

This PR excludes the java versions currently failing on macos from the list of distributions that are tested. I went through the list of supported distributions on https://github.com/actions/setup-java (both the versions they mention there and the release archives for each distribution) and none of them seem to support these EoL versions.

I'm sure there is a way to test these versions, but it will likely take a fair amount of work to set this up. Until this is done (if it does happen), I think it is better to exclude these versions for 2 reasons:

  1. Having consistent expected build failures as part of the standard PR workflow makes it easier to miss legitimate issues
  2. The following LTS releases are already tested: java 8 (older than the oldest excluded release), java 11 (in the middle of the excluded releases), and java 17 (newer than the newest release). It seems very unlikely that the tests would fail for one of the excluded versions, but pass for all of the surrounding versions for which the tests are being run

@codecov
Copy link
Copy Markdown

codecov bot commented Jun 24, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 57.877%. Comparing base (8725b40) to head (111dea5).
Report is 17 commits behind head on master.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff            @@
##            master     #4479   +/-   ##
=========================================
  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 23676de...111dea5. Read the comment docs.

@jlerbsc jlerbsc merged commit f75a50c 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