30
30
name : lint (mypy)
31
31
runs-on : ubuntu-latest
32
32
steps :
33
- - uses : actions/checkout@v3
33
+ - uses : actions/checkout@v4
34
34
- uses : ./.github/actions/python-only
35
35
- run : pip install -r requirements-dev.txt
36
36
- run : mypy --config-file mypy.ini
39
39
name : lint (flake8)
40
40
runs-on : ubuntu-latest
41
41
steps :
42
- - uses : actions/checkout@v3
42
+ - uses : actions/checkout@v4
43
43
- uses : ./.github/actions/python-only
44
44
# NOTE: If you are changing the set of packages installed here, make sure that
45
45
# the dev requirements match them.
55
55
run :
56
56
shell : bash -l {0}
57
57
steps :
58
- - uses : actions/checkout@v3
58
+ - uses : actions/checkout@v4
59
59
- uses : ./.github/actions/mamba-env
60
60
with :
61
61
environment-file : requirements/requirements-no-engine.yml
78
78
shell : bash -l {0}
79
79
name : test-clean-install-${{ matrix.os }}
80
80
steps :
81
- - uses : actions/checkout@v3
81
+ - uses : actions/checkout@v4
82
82
- uses : ./.github/actions/python-only
83
83
- run : python -m pip install -e ".[all]"
84
84
- name : Ensure Ray and Dask engines start up
@@ -101,7 +101,7 @@ jobs:
101
101
shell : bash -l {0}
102
102
name : test-internals
103
103
steps :
104
- - uses : actions/checkout@v3
104
+ - uses : actions/checkout@v4
105
105
- uses : ./.github/actions/mamba-env
106
106
with :
107
107
environment-file : environment-dev.yml
@@ -131,7 +131,7 @@ jobs:
131
131
MODIN_TEST_DATASET_SIZE : " small"
132
132
name : Test ${{ matrix.execution }} execution, Python 3.9
133
133
steps :
134
- - uses : actions/checkout@v3
134
+ - uses : actions/checkout@v4
135
135
- uses : ./.github/actions/mamba-env
136
136
with :
137
137
environment-file : environment-dev.yml
@@ -169,7 +169,7 @@ jobs:
169
169
AWS_ACCESS_KEY_ID : foobar_key
170
170
AWS_SECRET_ACCESS_KEY : foobar_secret
171
171
steps :
172
- - uses : actions/checkout@v3
172
+ - uses : actions/checkout@v4
173
173
- uses : ./.github/actions/mamba-env
174
174
with :
175
175
environment-file : requirements/env_hdk.yml
@@ -218,10 +218,10 @@ jobs:
218
218
MODIN_TEST_DATASET_SIZE : small
219
219
name : test-asv-benchmarks
220
220
steps :
221
- - uses : actions/checkout@v3
221
+ - uses : actions/checkout@v4
222
222
with :
223
223
fetch-depth : 1
224
- - uses : conda-incubator/setup-miniconda@v2
224
+ - uses : conda-incubator/setup-miniconda@v3
225
225
with :
226
226
auto-activate-base : true
227
227
activate-environment : " "
@@ -271,7 +271,7 @@ jobs:
271
271
if : always()
272
272
273
273
- name : Publish benchmarks artifact
274
- uses : actions/upload-artifact@master
274
+ uses : actions/upload-artifact@v4
275
275
with :
276
276
name : Benchmarks log
277
277
path : asv_bench/benchmarks.log
@@ -287,8 +287,8 @@ jobs:
287
287
engines : ${{ steps.engines.outputs.engines }}
288
288
experimental : ${{ steps.experimental.outputs.experimental }}
289
289
steps :
290
- - uses : actions/checkout@v3
291
- - uses : dorny/paths-filter@v2
290
+ - uses : actions/checkout@v4
291
+ - uses : dorny/paths-filter@v3
292
292
id : filter
293
293
with :
294
294
filters : |
@@ -305,7 +305,7 @@ jobs:
305
305
- 'modin/core/execution/unidist/**'
306
306
experimental:
307
307
- 'modin/experimental/**'
308
- - uses : actions/setup-python@v4
308
+ - uses : actions/setup-python@v5
309
309
- id : engines
310
310
run : |
311
311
python -c "import sys, json; print('engines=' + json.dumps(['python'] + (sys.argv[1] == 'true' and ['ray'] or []) + (sys.argv[2] == 'true' and ['dask'] or []) ))" \
@@ -340,7 +340,7 @@ jobs:
340
340
AWS_ACCESS_KEY_ID : foobar_key
341
341
AWS_SECRET_ACCESS_KEY : foobar_secret
342
342
steps :
343
- - uses : actions/checkout@v3
343
+ - uses : actions/checkout@v4
344
344
- uses : ./.github/actions/mamba-env
345
345
with :
346
346
environment-file : requirements/env_unidist_linux.yml
@@ -366,7 +366,7 @@ jobs:
366
366
- run : ./.github/workflows/sql_server/set_up_sql_server.sh
367
367
# need an extra argument "genv" to set environment variables for mpiexec. We need
368
368
# these variables to test writing to the mock s3 filesystem.
369
- - uses : nick-fields/retry@v2
369
+ - uses : nick-fields/retry@v3
370
370
# to avoid issues with non-stable `to_csv` tests for unidist on MPI backend.
371
371
# for details see: https://github.com/modin-project/modin/pull/6776
372
372
with :
@@ -436,15 +436,15 @@ jobs:
436
436
- name : Tell Modin to use existing ray cluster
437
437
run : echo "MODIN_RAY_CLUSTER=True" >> $GITHUB_ENV
438
438
if : matrix.os == 'windows' && matrix.engine == 'ray'
439
- - uses : actions/checkout@v3
439
+ - uses : actions/checkout@v4
440
440
- uses : ./.github/actions/mamba-env
441
441
with :
442
442
environment-file : environment-dev.yml
443
443
python-version : ${{matrix.python-version}}
444
444
- name : Start local ray cluster
445
445
# Try a few times to start ray to work around
446
446
# https://github.com/modin-project/modin/issues/4562
447
- uses : nick-fields/retry@v2
447
+ uses : nick-fields/retry@v3
448
448
with :
449
449
timeout_minutes : 5
450
450
max_attempts : 5
@@ -557,7 +557,7 @@ jobs:
557
557
AWS_ACCESS_KEY_ID : foobar_key
558
558
AWS_SECRET_ACCESS_KEY : foobar_secret
559
559
steps :
560
- - uses : actions/checkout@v3
560
+ - uses : actions/checkout@v4
561
561
- uses : ./.github/actions/mamba-env
562
562
with :
563
563
environment-file : ${{ matrix.os == 'ubuntu' && matrix.execution.name == 'unidist' && 'requirements/env_unidist_linux.yml' || matrix.os == 'windows' && matrix.execution.name == 'unidist' && 'requirements/env_unidist_win.yml' || 'environment-dev.yml' }}
@@ -575,7 +575,7 @@ jobs:
575
575
- name : Start local ray cluster
576
576
# Try a few times to start ray to work around
577
577
# https://github.com/modin-project/modin/issues/4562
578
- uses : nick-fields/retry@v2
578
+ uses : nick-fields/retry@v3
579
579
with :
580
580
timeout_minutes : 5
581
581
max_attempts : 5
@@ -632,7 +632,7 @@ jobs:
632
632
- run : ${{ matrix.execution.shell-ex }} $PARALLEL modin/tests/numpy
633
633
- run : ${{ matrix.execution.shell-ex }} -m "not exclude_in_sanity" modin/tests/pandas/test_io.py --verbose
634
634
if : matrix.execution.name != 'unidist'
635
- - uses : nick-fields/retry@v2
635
+ - uses : nick-fields/retry@v3
636
636
# to avoid issues with non-stable `to_csv` tests for unidist on MPI backend.
637
637
# for details see: https://github.com/modin-project/modin/pull/6776
638
638
with :
@@ -672,7 +672,7 @@ jobs:
672
672
AWS_ACCESS_KEY_ID : foobar_key
673
673
AWS_SECRET_ACCESS_KEY : foobar_secret
674
674
steps :
675
- - uses : actions/checkout@v3
675
+ - uses : actions/checkout@v4
676
676
- uses : ./.github/actions/mamba-env
677
677
with :
678
678
environment-file : environment-dev.yml
@@ -699,32 +699,47 @@ jobs:
699
699
MODIN_ENGINE : ${{matrix.engine}}
700
700
name : test-spreadsheet (engine ${{matrix.engine}}, python ${{matrix.python-version}})
701
701
steps :
702
- - uses : actions/checkout@v3
702
+ - uses : actions/checkout@v4
703
703
- uses : ./.github/actions/mamba-env
704
704
with :
705
705
environment-file : environment-dev.yml
706
706
python-version : ${{matrix.python-version}}
707
707
- run : python -m pytest modin/tests/experimental/spreadsheet/test_general.py
708
708
709
- upload -coverage :
709
+ merge -coverage-artifacts :
710
710
needs : [test-internals, test-api-and-no-engine, test-defaults, test-hdk, test-all-unidist, test-all, test-experimental, test-sanity]
711
711
if : always() # we need to run it regardless of some job being skipped, like in PR
712
712
runs-on : ubuntu-latest
713
713
defaults :
714
714
run :
715
715
shell : bash -l {0}
716
716
steps :
717
- - uses : actions/checkout@v3
717
+ - name : Merge Artifacts
718
+ uses : actions/upload-artifact/merge@v4
719
+ with :
720
+ name : coverage-data
721
+ pattern : coverage-data-*
722
+ delete-merged : true
723
+
724
+ upload-coverage :
725
+ needs : [merge-coverage-artifacts]
726
+ if : always() # we need to run it regardless of some job being skipped, like in PR
727
+ runs-on : ubuntu-latest
728
+ defaults :
729
+ run :
730
+ shell : bash -l {0}
731
+ steps :
732
+ - uses : actions/checkout@v4
718
733
- uses : ./.github/actions/python-only
719
734
- name : Download coverage data
720
- uses : actions/download-artifact@v3.0.2
735
+ uses : actions/download-artifact@v4
721
736
with :
722
737
name : coverage-data
723
738
- run : pip install coverage
724
739
- name : Combine coverage
725
740
run : python -m coverage combine
726
741
- name : Generate coverage report in xml format
727
742
run : python -m coverage xml
728
- - uses : codecov/codecov-action@v3
743
+ - uses : codecov/codecov-action@v4
729
744
with :
730
745
fail_ci_if_error : ${{ github.event_name == 'push' }} # do not care about uploads in PR
0 commit comments