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 scheduler validation path #50

Merged
merged 1 commit into from
Jan 23, 2023
Merged

Conversation

GlassOfWhiskey
Copy link
Member

Static validation of scheduler classes was not working for two reasons. First, the schemas folder in the scheduling package was not loaded in the release archive. Plus, scheduler config files were not loader by the validator prior to check the configuration. This commit fixes both issues.

Static validation of scheduler classes was not working for two reasons.
First, the `schemas` folder in the `scheduling` package was not loaded
in the release archive. Plus, scheduler config files were not loader by
the validator prior to check the configuration. This commit fixes both
issues.
@codecov-commenter
Copy link

Codecov Report

Base: 63.09% // Head: 63.11% // Increases project coverage by +0.02% 🎉

Coverage data is based on head (2ff44c2) compared to base (c7322fe).
Patch coverage: 73.91% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##           master      #50      +/-   ##
==========================================
+ Coverage   63.09%   63.11%   +0.02%     
==========================================
  Files          73       73              
  Lines        8571     8590      +19     
  Branches     2035     2035              
==========================================
+ Hits         5408     5422      +14     
- Misses       2808     2809       +1     
- Partials      355      359       +4     
Impacted Files Coverage Δ
streamflow/ext/plugin.py 72.50% <71.42%> (-1.42%) ⬇️
streamflow/config/validator.py 83.33% <100.00%> (+0.64%) ⬆️
streamflow/workflow/combinator.py 88.52% <0.00%> (-1.64%) ⬇️
streamflow/data/aiotarstream.py 37.94% <0.00%> (+0.12%) ⬆️
streamflow/scheduling/scheduler.py 77.16% <0.00%> (+0.78%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@GlassOfWhiskey GlassOfWhiskey merged commit c01c928 into master Jan 23, 2023
@GlassOfWhiskey GlassOfWhiskey deleted the scheduler-validation branch January 23, 2023 18:05
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