Skip to content

Commit ff13d6f

Browse files
authored
TEST-modin-project#6777: Make to_csv tests on Unidist more stable (for test-all-unidist CI job) (modin-project#6851)
Signed-off-by: Anatoly Myachev <anatoly.myachev@intel.com>
1 parent c7acce5 commit ff13d6f

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

.github/workflows/ci.yml

+9-1
Original file line numberDiff line numberDiff line change
@@ -378,7 +378,15 @@ jobs:
378378
- run: ./.github/workflows/sql_server/set_up_sql_server.sh
379379
# need an extra argument "genv" to set environment variables for mpiexec. We need
380380
# these variables to test writing to the mock s3 filesystem.
381-
- run: mpiexec -n 1 -genv AWS_ACCESS_KEY_ID foobar_key -genv AWS_SECRET_ACCESS_KEY foobar_secret python -m pytest modin/pandas/test/test_io.py --verbose
381+
- uses: nick-fields/retry@v2
382+
# to avoid issues with non-stable `to_csv` tests for unidist on MPI backend.
383+
# for details see: https://github.com/modin-project/modin/pull/6776
384+
with:
385+
timeout_minutes: 15
386+
max_attempts: 3
387+
command: |
388+
conda run --no-capture-output -n modin_on_unidist mpiexec -n 1 -genv AWS_ACCESS_KEY_ID foobar_key \
389+
-genv AWS_SECRET_ACCESS_KEY foobar_secret python -m pytest modin/pandas/test/test_io.py --verbose
382390
- run: mpiexec -n 1 python -m pytest modin/experimental/pandas/test/test_io_exp.py
383391
- run: mpiexec -n 1 python -m pytest modin/experimental/sql/test/test_sql.py
384392
- run: mpiexec -n 1 python -m pytest modin/test/interchange/dataframe_protocol/test_general.py

0 commit comments

Comments
 (0)