From a9a6d2ca0aa41fa4888ba0c45e76cb39bd4b45d4 Mon Sep 17 00:00:00 2001 From: Sameeul Samee Date: Mon, 26 Aug 2024 11:32:55 -0400 Subject: [PATCH 1/2] Skip tests for GPU wheels in CI --- .github/workflows/publish_cuda11_pypi.yml | 2 +- .github/workflows/publish_cuda12_pypi.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish_cuda11_pypi.yml b/.github/workflows/publish_cuda11_pypi.yml index c2822810..5d844615 100644 --- a/.github/workflows/publish_cuda11_pypi.yml +++ b/.github/workflows/publish_cuda11_pypi.yml @@ -78,7 +78,7 @@ jobs: CIBW_ARCHS: ${{ matrix.cibw_archs }} CIBW_TEST_REQUIRES: numpy pandas pyarrow pytest bfio CIBW_BEFORE_TEST_WINDOWS: xcopy /E /I /y "C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.8\bin" %SystemRoot%\System32 - CIBW_TEST_COMMAND: pytest -vv {project}/tests/python -m "not skip_ci" + CIBW_TEST_COMMAND: python -m pip check - name: Install Dependencies run: python -m pip install --upgrade twine requests diff --git a/.github/workflows/publish_cuda12_pypi.yml b/.github/workflows/publish_cuda12_pypi.yml index 98326bc9..8a104c00 100644 --- a/.github/workflows/publish_cuda12_pypi.yml +++ b/.github/workflows/publish_cuda12_pypi.yml @@ -77,7 +77,7 @@ jobs: CIBW_ARCHS: ${{ matrix.cibw_archs }} CIBW_TEST_REQUIRES: numpy pandas pyarrow pytest bfio CIBW_BEFORE_TEST_WINDOWS: xcopy /E /I /y "C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.0\bin" %SystemRoot%\System32 - CIBW_TEST_COMMAND: pytest -vv {project}/tests/python -m "not skip_ci" + CIBW_TEST_COMMAND: python -m pip check - name: Install Dependencies run: python -m pip install --upgrade twine requests From b3c07282084f253174a5a1f8d252b17d1ea2a6a2 Mon Sep 17 00:00:00 2001 From: Sameeul Samee Date: Mon, 26 Aug 2024 12:58:16 -0400 Subject: [PATCH 2/2] Skip tests for GPU wheels in CI --- .github/workflows/build_cuda11_wheels.yml | 2 +- .github/workflows/build_cuda12_wheels.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build_cuda11_wheels.yml b/.github/workflows/build_cuda11_wheels.yml index da4ec428..1614823c 100644 --- a/.github/workflows/build_cuda11_wheels.yml +++ b/.github/workflows/build_cuda11_wheels.yml @@ -76,7 +76,7 @@ jobs: CIBW_ARCHS: ${{ matrix.cibw_archs }} CIBW_TEST_REQUIRES: numpy pandas pyarrow pytest bfio CIBW_BEFORE_TEST_WINDOWS: xcopy /E /I /y "C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.8\bin" %SystemRoot%\System32 - CIBW_TEST_COMMAND: pytest -vv {project}/tests/python -m "not skip_ci" + CIBW_TEST_COMMAND: python -m pip check - name: Upload Artifact uses: actions/upload-artifact@v3 diff --git a/.github/workflows/build_cuda12_wheels.yml b/.github/workflows/build_cuda12_wheels.yml index 22de47f0..b58d3ad9 100644 --- a/.github/workflows/build_cuda12_wheels.yml +++ b/.github/workflows/build_cuda12_wheels.yml @@ -76,7 +76,7 @@ jobs: CIBW_ARCHS: ${{ matrix.cibw_archs }} CIBW_TEST_REQUIRES: numpy pandas pyarrow pytest bfio CIBW_BEFORE_TEST_WINDOWS: xcopy /E /I /y "C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.0\bin" %SystemRoot%\System32 - CIBW_TEST_COMMAND: pytest -vv {project}/tests/python -m "not skip_ci" + CIBW_TEST_COMMAND: python -m pip check - name: Upload Artifact uses: actions/upload-artifact@v3