Skip to content

Commit

Permalink
Changing waiting time dynamically in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mmerce committed Feb 28, 2024
1 parent b6c205a commit c025869
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tests_01.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
BIGML_EXTERNAL_CONN_DB: ${{ secrets.BIGML_EXTERNAL_CONN_DB }}
BIGML_EXTERNAL_CONN_USER: ${{ secrets.BIGML_EXTERNAL_CONN_USER }}
BIGML_EXTERNAL_CONN_PWD: ${{ secrets.BIGML_EXTERNAL_CONN_PWD }}
BIGML_DELTA: 5
BIGML_DELTA: ${{ env.BIGML_DELTA }}

steps:
- name: Install packages
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests_05.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
BIGML_EXTERNAL_CONN_DB: ${{ secrets.BIGML_EXTERNAL_CONN_DB }}
BIGML_EXTERNAL_CONN_USER: ${{ secrets.BIGML_EXTERNAL_CONN_USER }}
BIGML_EXTERNAL_CONN_PWD: ${{ secrets.BIGML_EXTERNAL_CONN_PWD }}
BIGML_DELTA: 5
BIGML_DELTA: ${{ env.BIGML_DELTA }}
steps:
- name: Install packages
uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests_22.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
BIGML_EXTERNAL_CONN_DB: ${{ secrets.BIGML_EXTERNAL_CONN_DB }}
BIGML_EXTERNAL_CONN_USER: ${{ secrets.BIGML_EXTERNAL_CONN_USER }}
BIGML_EXTERNAL_CONN_PWD: ${{ secrets.BIGML_EXTERNAL_CONN_PWD }}
BIGML_DELTA: 10
BIGML_DELTA: ${{ env.BIGML_DELTA }}

steps:
- name: Install packages
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests_23.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
BIGML_EXTERNAL_CONN_DB: ${{ secrets.BIGML_EXTERNAL_CONN_DB }}
BIGML_EXTERNAL_CONN_USER: ${{ secrets.BIGML_EXTERNAL_CONN_USER }}
BIGML_EXTERNAL_CONN_PWD: ${{ secrets.BIGML_EXTERNAL_CONN_PWD }}
BIGML_DELTA: 5
BIGML_DELTA: ${{ env.BIGML_DELTA }}

steps:
- name: Install packages
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests_36.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
BIGML_EXTERNAL_CONN_DB: ${{ secrets.BIGML_EXTERNAL_CONN_DB }}
BIGML_EXTERNAL_CONN_USER: ${{ secrets.BIGML_EXTERNAL_CONN_USER }}
BIGML_EXTERNAL_CONN_PWD: ${{ secrets.BIGML_EXTERNAL_CONN_PWD }}
BIGML_DELTA: 5
BIGML_DELTA: ${{ env.BIGML_DELTA }}

steps:
- name: Install packages
Expand Down
6 changes: 3 additions & 3 deletions bigml/tests/test_35_d_compare_predictions.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,18 +70,18 @@ def test_scenario2(self):
"input_data", "forecast", "model_conf"]
examples = [

['data/grades.csv', '30', '30', '120',
['data/grades.csv', '30', '30', '300',
'{"000005": {"horizon": 5}}',
'{"000005": [{"point_forecast": [73.96192, 74.04106, 74.12029, '
'74.1996, 74.27899], "model": "M,M,N"}]}',
'{"objective_fields": ["000001", "000005"], "period": 12}'],
['data/grades.csv', '30', '30', '120',
['data/grades.csv', '30', '30', '300',
'{"000005": {"horizon": 5, "ets_models": {"names": ["M,N,A"], '
'"criterion": "aic", "limit": 3}}}',
'{"000005": [{"point_forecast": [67.43222, 68.24468, '
'64.14437, 67.5662, 67.79028], "model": "M,N,A"}]}',
'{"objective_fields": ["000001", "000005"], "period": 12}'],
['data/grades.csv', '30', '30', '120',
['data/grades.csv', '30', '30', '300',
'{"000005": {"horizon": 5, "ets_models": {"names": ["A,A,A"], '
'"criterion": "aic", "limit": 3}}}',
'{"000005": [{"point_forecast": [74.73553, 71.6163, 71.90264, '
Expand Down

0 comments on commit c025869

Please sign in to comment.