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

Fix codecov and test failures #662

Merged
merged 3 commits into from
Oct 3, 2024

Conversation

robtaylor
Copy link
Collaborator

This should fix the issue with linux showing as failing.

@robtaylor robtaylor force-pushed the fix-codecov branch 3 times, most recently from 541ef0a to 0192719 Compare September 30, 2024 02:16
@robtaylor robtaylor marked this pull request as draft September 30, 2024 02:17
@robtaylor robtaylor marked this pull request as ready for review September 30, 2024 02:21
@robtaylor
Copy link
Collaborator Author

See #667

@robtaylor robtaylor changed the title Fix codecov failure due to undeclared secret use Fix codecov and test failures Oct 1, 2024
@robtaylor
Copy link
Collaborator Author

robtaylor commented Oct 1, 2024

Updated PR to fix two issues causing test and coverage failure:

@robtaylor robtaylor marked this pull request as draft October 1, 2024 03:25
@robtaylor robtaylor force-pushed the fix-codecov branch 6 times, most recently from af026a1 to 04e01dc Compare October 1, 2024 04:57
@codecov-commenter
Copy link

codecov-commenter commented Oct 1, 2024

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 96.24%. Comparing base (7143747) to head (263d98d).
Report is 3 commits behind head on develop.

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@           Coverage Diff            @@
##           develop     #662   +/-   ##
========================================
  Coverage    96.24%   96.24%           
========================================
  Files           41       41           
  Lines         5220     5220           
  Branches      1226     1226           
========================================
  Hits          5024     5024           
  Misses         124      124           
  Partials        72       72           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@robtaylor robtaylor force-pushed the fix-codecov branch 2 times, most recently from 0c56a27 to 04e01dc Compare October 1, 2024 05:52
@robtaylor
Copy link
Collaborator Author

Ugh, this changing viewbox parameter in the generated svg is killing me!!

@robtaylor robtaylor force-pushed the fix-codecov branch 8 times, most recently from f6c823a to 9e743a6 Compare October 2, 2024 19:26
@robtaylor robtaylor force-pushed the fix-codecov branch 2 times, most recently from 597f1f2 to b17fad7 Compare October 2, 2024 19:47
@robtaylor robtaylor marked this pull request as ready for review October 2, 2024 22:03
@robtaylor
Copy link
Collaborator Author

All working now!

@@ -575,6 +586,14 @@ def setUp(self):
self.tree = core.build(cwd=FILES, root=FILES)
self.document = self.tree.find_document("REQ")
self.temp = tempfile.mkdtemp()
# Use local plantuml of known version
plantuml_cmd = "java -Dplantuml.include.path=includes -jar " + os.path.join(
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think we want to make java a dependency of this library. Can you solve this with a Python library?

@jacebrowning
Copy link
Member

Hi @robtaylor, thanks for getting CI to pass!

Can you open a separate pull request with just the code coverage fixes? As mentioned in the commend above, I don't think we want to add java as a dependency in order to get tests to pass. I'd like to review configuration changes and business logic changes separately.

@robtaylor
Copy link
Collaborator Author

robtaylor commented Oct 3, 2024 via email

@robtaylor robtaylor force-pushed the fix-codecov branch 3 times, most recently from 9a86a45 to 263d98d Compare October 3, 2024 21:46
@robtaylor
Copy link
Collaborator Author

robtaylor commented Oct 3, 2024

Hey @jacebrowning, I've put the code changes (plantuml mock) in #669 . This now has just the CI changes.

Both patches are needed for successful CI - the draft PR #670 checks this!

@robtaylor robtaylor mentioned this pull request Oct 3, 2024
@jacebrowning jacebrowning merged commit 6820ac6 into doorstop-dev:develop Oct 3, 2024
1 of 14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants