11version : 2.1
22jobs :
3- nbdev-tests :
3+ pytest :
44 resource_class : xlarge
55 docker :
66 - image : python:3.10-slim
@@ -14,18 +14,18 @@ jobs:
1414 - run :
1515 name : Run nbdev tests
1616 command : |
17- source .venv/bin/activate
18- uv pip install ".[dev]"
19- nbdev_test --do_print --timing
17+ source .venv/bin/activate
18+ uv pip install -e ".[dev,polars ]"
19+ pytest
2020 test-model-performance :
2121 parameters :
22- hierarchy :
22+ hierarchy :
2323 type : string
2424 default : " strict"
25- forecast_type :
25+ forecast_type :
2626 type : string
2727 default : " point"
28- engine :
28+ engine :
2929 type : string
3030 default : " pandas"
3131 resource_class : large
4141 - run :
4242 name : Run model performance tests
4343 command : |
44- source .venv/bin/activate
45- uv pip install ".[dev]"
44+ source .venv/bin/activate
45+ uv pip install ".[dev,polars ]"
4646 cd ./action_files/test_models/
4747 uv pip install -r requirements.txt
4848 python -m src.models << parameters.hierarchy >> << parameters.forecast_type >> << parameters.engine >>
@@ -65,11 +65,11 @@ jobs:
6565 - run :
6666 name : Run model performance tests
6767 command : |
68- source .venv/bin/activate
69- uv pip install ".[dev]"
68+ source .venv/bin/activate
69+ uv pip install ".[dev,polars ]"
7070 cd ./action_files/test_models/
7171 uv pip install -r requirements.txt
72- python -m src.models_temporal
72+ python -m src.models_temporal
7373 python -m src.evaluation_temporal
7474 cd ../../
7575 - store_artifacts :
7878workflows :
7979 sample :
8080 jobs :
81- - nbdev-tests
81+ - pytest
8282 - test-model-performance :
8383 matrix :
8484 parameters :
0 commit comments