Skip to content

Commit dbf1ced

Browse files
committed
ci: fixup group usage
1 parent 03d6330 commit dbf1ced

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

.github/workflows/build-wheel.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ jobs:
246246
247247
- name: Build cuda.bindings Cython tests
248248
run: |
249-
pip install $(ls ${{ env.CUDA_BINDINGS_ARTIFACTS_DIR }}/*.whl)[test]
249+
pip install ${{ env.CUDA_BINDINGS_ARTIFACTS_DIR }}/*.whl --group ./cuda_bindings/pyproject.toml:test
250250
pushd ${{ env.CUDA_BINDINGS_CYTHON_TESTS_DIR }}
251251
bash build_tests.sh
252252
popd
@@ -260,7 +260,7 @@ jobs:
260260

261261
- name: Build cuda.core Cython tests
262262
run: |
263-
pip install $(ls ${{ env.CUDA_CORE_ARTIFACTS_DIR }}/*.whl)[test]
263+
pip install ${{ env.CUDA_CORE_ARTIFACTS_DIR }}/*.whl --group ./cuda_core/pyproject.toml:test
264264
pushd ${{ env.CUDA_CORE_CYTHON_TESTS_DIR }}
265265
bash build_tests.sh
266266
popd

.github/workflows/test-wheel-linux.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ jobs:
283283
run: |
284284
set -euo pipefail
285285
pushd cuda_pathfinder
286-
pip install --only-binary=:all: -v ".[test_nvidia_wheels_cu${TEST_CUDA_MAJOR},test_nvidia_wheels_host]"
286+
pip install --only-binary=:all: -v . --group "test_nvidia_wheels_cu${TEST_CUDA_MAJOR}" --group test_nvidia_wheels_host
287287
pip list
288288
popd
289289

.github/workflows/test-wheel-windows.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ jobs:
256256
shell: bash --noprofile --norc -xeuo pipefail {0}
257257
run: |
258258
pushd cuda_pathfinder
259-
pip install --only-binary=:all: -v ".[test_nvidia_wheels_cu${TEST_CUDA_MAJOR},test_nvidia_wheels_host]"
259+
pip install --only-binary=:all: -v . --group "test_nvidia_wheels_cu${TEST_CUDA_MAJOR}" --group test_nvidia_wheels_host
260260
pip list
261261
popd
262262

ci/tools/run-tests

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ pushd ./cuda_pathfinder
2626
echo "Installing pathfinder wheel"
2727
pwd
2828
ls
29-
pip install ./*.whl --group test
29+
pip install ./*.whl --group cuda_pathfinder/pyproject.toml:test
3030
popd
3131

3232
if [[ "${test_module}" == "pathfinder" ]]; then
@@ -47,9 +47,9 @@ elif [[ "${test_module}" == "bindings" ]]; then
4747
ls
4848
if [[ "${LOCAL_CTK}" == 1 ]]; then
4949
ls "${CUDA_PATH}"
50-
pip install ./*.whl --group test
50+
pip install ./*.whl --group cuda_bindings/pyproject.toml:test
5151
else
52-
pip install $(ls ./*.whl)[all] --group test
52+
pip install $(ls ./*.whl)[all] --group cuda_bindings/pyproject.toml:test
5353
fi
5454
popd
5555
pushd ./cuda_bindings
@@ -89,9 +89,9 @@ elif [[ "${test_module}" == "core" ]]; then
8989
if [[ "${LOCAL_CTK}" == 1 ]]; then
9090
# We already installed cuda-bindings, and all CTK components exist locally,
9191
# so just install the test dependencies.
92-
pip install ./*.whl --group "test-cu${TEST_CUDA_MAJOR}${FREE_THREADING}"
92+
pip install ./*.whl --group "cuda_core/pyproject.toml:test-cu${TEST_CUDA_MAJOR}${FREE_THREADING}"
9393
else
94-
pip install $(ls ./*.whl)["cu${TEST_CUDA_MAJOR}"] --group "test-cu${TEST_CUDA_MAJOR}${FREE_THREADING}"
94+
pip install $(ls ./*.whl)["cu${TEST_CUDA_MAJOR}"] --group "cuda_core/pyproject.toml:test-cu${TEST_CUDA_MAJOR}${FREE_THREADING}"
9595
fi
9696
popd
9797
pushd ./cuda_core

0 commit comments

Comments
 (0)