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

Mock calls to plantuml to reduce CI fragility platforms #669

Closed
wants to merge 1 commit into from

Conversation

robtaylor
Copy link
Collaborator

As described in #667, calls to and external server for rendering PlantUML introduced fragility to the CI. On the first attempt to fix this issue by including a local copy of PlantUML, it also became clear that it was very hard to get PlantUML to produce exactly duplicate output over different platforms.

This makes the test faster and more robust by simply mocking out the plantuml-markdown execution.

@codecov-commenter
Copy link

codecov-commenter commented Oct 3, 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 (3a0e4c8).
Report is 8 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     #669   +/-   ##
========================================
  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
Copy link
Collaborator Author

Fixes #667

@robtaylor robtaylor changed the title Mock calls to plantuml in tests to support all platforms Mock calls to plantuml to reduce CI fragility platforms Oct 3, 2024
This was referenced Oct 3, 2024
@robtaylor
Copy link
Collaborator Author

Merged with #670

@robtaylor robtaylor closed this Oct 3, 2024
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.

2 participants