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

#301 return non-zero exit code on fatal errors #320

Merged
merged 2 commits into from
Feb 19, 2024

Conversation

CAMOBAP
Copy link
Contributor

@CAMOBAP CAMOBAP commented Feb 11, 2024

@CAMOBAP CAMOBAP self-assigned this Feb 11, 2024
@CAMOBAP CAMOBAP force-pushed the feature/fails-on-fatal-errors branch from 32bb378 to 80f481e Compare February 11, 2024 22:55
Copy link

codecov bot commented Feb 11, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (a390565) 95.87% compared to head (7d407a8) 95.96%.
Report is 3 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #320      +/-   ##
==========================================
+ Coverage   95.87%   95.96%   +0.08%     
==========================================
  Files          15       15              
  Lines         703      718      +15     
==========================================
+ Hits          674      689      +15     
  Misses         29       29              

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

@CAMOBAP CAMOBAP force-pushed the feature/fails-on-fatal-errors branch from 80f481e to 2ada26b Compare February 11, 2024 23:02
@CAMOBAP
Copy link
Contributor Author

CAMOBAP commented Feb 11, 2024

Locally I have strange crash, but there is no it on CI

     NoMethodError:
       undefined method `svgmap_rewrite' for Metanorma::Utils:Module
     # ./lib/metanorma/cli/collection.rb:19:in `render'
     # ./lib/metanorma/cli/collection.rb:14:in `render'
     # ./lib/metanorma/cli/command.rb:76:in `collection'
     # ./lib/metanorma/cli.rb:34:in `start'
     # ./spec/acceptance/collection_spec.rb:32:in `block in run_metanorma_collection'
     # ./spec/support/console_helper.rb:8:in `capture_stdout'
     # ./spec/acceptance/collection_spec.rb:32:in `run_metanorma_collection'
     # ./spec/acceptance/collection_spec.rb:6:in `block (3 levels) in <top (required)>'
     # ./spec/acceptance/collection_spec.rb:19:in `block (4 levels) in <top (required)>'
     # ./spec/acceptance/collection_spec.rb:19:in `chdir'
     # ./spec/acceptance/collection_spec.rb:19:in `block (3 levels) in <top (required)>'
     # ./spec/acceptance/collection_spec.rb:17:in `block (2 levels) in <top (required)>'

@CAMOBAP CAMOBAP marked this pull request as ready for review February 11, 2024 23:06
@ronaldtse
Copy link
Contributor

Maybe this has to do with the recent refactor for the new Vectory gem. Ping @alexeymorozov.

@CAMOBAP CAMOBAP force-pushed the feature/fails-on-fatal-errors branch from 280f54f to 7d407a8 Compare February 12, 2024 10:38
@alexeymorozov
Copy link

@opoudjis
Copy link
Contributor

There shall be a single point of dependency to vectory, html2doc.

@opoudjis opoudjis merged commit 41fffd2 into main Feb 19, 2024
145 of 165 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.

4 participants