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

Improve zntrack.meta.Environement #575

Merged
merged 8 commits into from
Apr 6, 2023
Merged

Conversation

PythonFZ
Copy link
Member

@PythonFZ PythonFZ commented Apr 6, 2023

The env.yaml has been extended:

global:  # support for global envs on all stages
  ZNTRACK_EXAMPLE: '1'
stages:
  EnvAsDict:
    SPECIAL_ENV: '25'
    env:  # you can group envs now
      OMP_NUM_THREADS: '1'
  • support for groups zntrack.meta.Environement: dict
  • support for global project.run(environment: dict = ...)

@PythonFZ PythonFZ linked an issue Apr 6, 2023 that may be closed by this pull request
@codecov
Copy link

codecov bot commented Apr 6, 2023

Codecov Report

Merging #575 (ee08357) into main (417e256) will decrease coverage by 0.20%.
The diff coverage is 79.31%.

@@            Coverage Diff             @@
##             main     #575      +/-   ##
==========================================
- Coverage   87.87%   87.67%   -0.20%     
==========================================
  Files          20       20              
  Lines        1311     1331      +20     
  Branches      480      490      +10     
==========================================
+ Hits         1152     1167      +15     
- Misses        159      164       +5     
Flag Coverage Δ
fulltest 87.67% <79.31%> (-0.20%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
zntrack/cli/__init__.py 83.60% <37.50%> (-7.31%) ⬇️
zntrack/fields/meta/__init__.py 88.88% <90.90%> (+0.75%) ⬆️
zntrack/project/zntrack_project.py 81.67% <100.00%> (+1.51%) ⬆️

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@PythonFZ PythonFZ merged commit 248cba4 into main Apr 6, 2023
9 of 11 checks passed
@PythonFZ PythonFZ deleted the 573-metaenvironemnt-improvments branch April 6, 2023 19:08
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.

meta.Environemnt improvments
1 participant