From f3c0a63579bb6cee861ea04344ddedd72221634e Mon Sep 17 00:00:00 2001 From: Iaroslav Igoshev Date: Fri, 6 Sep 2024 18:34:43 +0200 Subject: [PATCH] FIX-#7387: Limit the number of pytest workers for tests with Ray engine on Windows (#7388) Signed-off-by: Igoshev, Iaroslav --- .github/workflows/ci.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8fb26225613..9b0d5b49783 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -443,12 +443,28 @@ jobs: - run: python -m pytest -n 2 modin/tests/experimental/test_pipeline.py if: matrix.engine == 'python' || matrix.test_task == 'group_1' - uses: ./.github/actions/run-core-tests/group_1 + with: + # When running with Ray engine on Windows using 2 pytest workers tests are failing in CI. + # See https://github.com/modin-project/modin/issues/7387. + parallel: ${{ matrix.engine == 'ray' && matrix.os == 'windows' && '-n 1' || '-n 2' }} if: matrix.engine == 'python' || matrix.test_task == 'group_1' - uses: ./.github/actions/run-core-tests/group_2 + with: + # When running with Ray engine on Windows using 2 pytest workers tests are failing in CI. + # See https://github.com/modin-project/modin/issues/7387. + parallel: ${{ matrix.engine == 'ray' && matrix.os == 'windows' && '-n 1' || '-n 2' }} if: matrix.engine == 'python' || matrix.test_task == 'group_2' - uses: ./.github/actions/run-core-tests/group_3 + with: + # When running with Ray engine on Windows using 2 pytest workers tests are failing in CI. + # See https://github.com/modin-project/modin/issues/7387. + parallel: ${{ matrix.engine == 'ray' && matrix.os == 'windows' && '-n 1' || '-n 2' }} if: matrix.engine == 'python' || matrix.test_task == 'group_3' - uses: ./.github/actions/run-core-tests/group_4 + with: + # When running with Ray engine on Windows using 2 pytest workers tests are failing in CI. + # See https://github.com/modin-project/modin/issues/7387. + parallel: ${{ matrix.engine == 'ray' && matrix.os == 'windows' && '-n 1' || '-n 2' }} if: matrix.engine == 'python' || matrix.test_task == 'group_4' - run: python -m pytest -n 2 modin/tests/numpy if: matrix.engine == 'python' || matrix.test_task == 'group_4'