cats icon indicating copy to clipboard operation
cats copied to clipboard

Adds option to specify config location using env variable

Open aturner-epcc opened this issue 1 year ago • 1 comments

Adds the option to set CATS_CONFIG_FILE environment variable to specify config file location. Config file location precedence becomes:

  1. Command line option
  2. Location specified in CATS_CONFIG_FILE
  3. ./config.yaml

aturner-epcc avatar Aug 16 '24 12:08 aturner-epcc

Codecov Report

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

Project coverage is 88.33%. Comparing base (31cfede) to head (eeb961c). Report is 22 commits behind head on main.

Files with missing lines Patch % Lines
cats/configure.py 33.33% 6 Missing :warning:
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #110      +/-   ##
==========================================
- Coverage   89.23%   88.33%   -0.91%     
==========================================
  Files          14       14              
  Lines         548      557       +9     
==========================================
+ Hits          489      492       +3     
- Misses         59       65       +6     

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

codecov[bot] avatar Aug 23 '24 12:08 codecov[bot]

I've rebased this and added a test. See PR #121 which contains this patch

andreww avatar Dec 06 '24 16:12 andreww