NOAA-EMC / wxflow

Tools for Weather Workflows
https://wxflow.readthedocs.io/en/latest
GNU Lesser General Public License v3.0
0 stars 7 forks source link

Enable searching for included templates when rendering jinja2 templates. #15

Closed aerorahul closed 6 months ago

aerorahul commented 6 months ago

Description The current implementation of jinja2 rendering was unable to support include when the included template was in a location not directly under the current template directory. This PR:

Type of change

How Has This Been Tested?

Checklist

codecov[bot] commented 6 months ago

Codecov Report

Attention: Patch coverage is 84.21053% with 6 lines in your changes are missing coverage. Please review.

Project coverage is 48.87%. Comparing base (d69dbbc) to head (968cddd).

Files Patch % Lines
src/wxflow/jinja.py 86.20% 3 Missing and 1 partial :warning:
src/wxflow/schema.py 0.00% 1 Missing :warning:
src/wxflow/yaml_file.py 87.50% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## develop #15 +/- ## =========================================== - Coverage 48.91% 48.87% -0.05% =========================================== Files 15 15 Lines 1429 1416 -13 Branches 305 308 +3 =========================================== - Hits 699 692 -7 + Misses 676 670 -6 Partials 54 54 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.