Skip to content

Commit be0ee50

Browse files
committed
Add env variable for model output name
1 parent 7c288d0 commit be0ee50

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ jobs:
3434
MEORG_EMAIL: ${{ secrets.MEORG_EMAIL }}
3535
MEORG_PASSWORD: ${{ secrets.MEORG_PASSWORD }}
3636
MEORG_MODEL_OUTPUT_ID: ${{ secrets.MEORG_MODEL_OUTPUT_ID }}
37+
MEORG_MODEL_OUTPUT_NAME: ${{ secrets.MEORG_MODEL_OUTPUT_NAME}}
3738
MEORG_MODEL_PROFILE_ID: ${{ secrets.MEORG_MODEL_PROFILE_ID }}
3839
MEORG_EXPERIMENT_ID: ${{ secrets.MEORG_EXPERIMENT_ID }}
3940
run: |

meorg_client/tests/conftest.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ def __repr__(self):
3030
store.set("model_output_id", os.environ.get("MEORG_MODEL_OUTPUT_ID"))
3131
store.set("experiment_id", os.environ.get("MEORG_EXPERIMENT_ID"))
3232
store.set("model_profile_id", os.environ.get("MEORG_MODEL_PROFILE_ID"))
33+
store.set("model_output_name", os.environ.get("MEORG_MODEL_OUTPUT_NAME"))
3334

3435

3536
@pytest.fixture
@@ -65,4 +66,4 @@ def model_output_name() -> str:
6566
str
6667
Model output name.
6768
"""
68-
return "meorg-client-model-output"
69+
return os.getenv("MEORG_MODEL_OUTPUT_NAME") or "meorg-client-model-output"

0 commit comments

Comments
 (0)