@@ -2,9 +2,7 @@ name: "[Py3.8][COV REPORT] tests/unitary/**"
22
33on :
44 workflow_dispatch :
5- push :
65 pull_request :
7- types : [opened, reopened]
86 branches : [ "main" ]
97
108# Cancel in progress workflows on pull_requests.
@@ -36,20 +34,23 @@ jobs:
3634 test-path : " tests/unitary"
3735 # `model` tests running in "slow_tests",
3836 # `feature_store` tests has its own test suite
37+ # `forecast` tests has its own test suite
38+ # 'hpo' tests hangs if run together with all unitary tests. Tests running in separate command before running all unitary
3939 ignore-path : |
4040 --ignore tests/unitary/with_extras/model \
4141 --ignore tests/unitary/with_extras/feature_store \
42+ --ignore tests/unitary/with_extras/operator/forecast \
4243 --ignore tests/unitary/with_extras/hpo
4344 - name : " slow_tests"
4445 test-path : " tests/unitary/with_extras/model"
4546
4647 steps :
47- - uses : actions/checkout@v3
48+ - uses : actions/checkout@v4
4849
4950 - uses : ./.github/workflows/create-more-space
5051 name : " Create more disk space"
5152
52- - uses : actions/setup-python@v4
53+ - uses : actions/setup-python@v5
5354 with :
5455 python-version : " 3.8"
5556 cache : " pip"
@@ -62,13 +63,13 @@ jobs:
6263
6364 - uses : ./.github/workflows/test-env-setup
6465 name : " Test env setup"
65- timeout-minutes : 20
66+ timeout-minutes : 30
6667
67- # Installing forecast deps for python3.8 test setup only, it will not work with python3.9/3.10, because
68- # automlx do not support py3.9 and some versions of py3.10. This step omitted in -py39-py30.yml workflow
69- - name : " Install Forecasting dependencies"
68+ # Installing pii deps for python3.8 test setup only, it will not work with python3.9/3.10, because
69+ # 'datapane' library conflicts with pandas>2.2.0, which used in py3.9/3.10 setup
70+ - name : " Install PII dependencies"
7071 run : |
71- pip install -e ".[forecast ]"
72+ pip install -e ".[pii ]"
7273 - name : " Install featurestore marketplace dependencies"
7374 run : |
7475 pip install -e ".[feature-store-marketplace]"
@@ -101,7 +102,7 @@ jobs:
101102 ${{ matrix.test-path }} ${{ matrix.ignore-path }}
102103
103104 - name : " Save coverage files"
104- uses : actions/upload-artifact@v3
105+ uses : actions/upload-artifact@v4
105106 with :
106107 name : cov-reports-${{ matrix.name }}
107108 path : |
@@ -120,11 +121,11 @@ jobs:
120121
121122 steps :
122123 - name : " Checkout current branch"
123- uses : actions/checkout@v3
124+ uses : actions/checkout@v4
124125 with :
125126 fetch-depth : 0
126127 - name : " Download coverage files"
127- uses : actions/download-artifact@v3
128+ uses : actions/download-artifact@v4
128129 - name : " Calculate overall coverage"
129130 run : |
130131 set -x # print commands that are executed
@@ -182,7 +183,7 @@ jobs:
182183 fi
183184
184185 - name : " Add comment with cov diff to PR"
185- uses : actions/github-script@v6
186+ uses : actions/github-script@v7
186187 if : github.event_name == 'pull_request'
187188 with :
188189 github-token : ${{ github.token }}
@@ -199,7 +200,7 @@ jobs:
199200 --compare-branch=origin/${{ env.COMPARE_BRANCH }} \
200201 --html-report=cov-diff.html
201202 - name : " Save coverage difference report"
202- uses : actions/upload-artifact@v3
203+ uses : actions/upload-artifact@v4
203204 with :
204205 name : cov-html-reports
205206 path : |
0 commit comments