Skip to content

fix(conda): strip patch version when installing cuda-version #303

fix(conda): strip patch version when installing cuda-version

fix(conda): strip patch version when installing cuda-version #303

Workflow file for this run

name: pr
on:
push:
branches:
- "pull-request/[0-9]+"
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
pr-builder:
needs:
- build
- checks
- check-nightly-ci
# - test-conda-nightly-env
secrets: inherit
uses: rapidsai/shared-workflows/.github/workflows/pr-builder.yaml@main
check-nightly-ci:
runs-on: ubuntu-latest
permissions:
actions: read
id-token: write
env:
GH_TOKEN: ${{ github.token }}
steps:
- name: Get PR Info
id: get-pr-info
uses: nv-gha-runners/get-pr-info@main
- name: Check if nightly CI is passing
uses: rapidsai/shared-actions/check_nightly_success/dispatch@main
with:
# this project's nightlies only run if all other RAPIDS nightly builds pass, so allow
# it more than the default 7 days
max-days-without-success: 14
repo: ${{ github.repository }}
target-branch: ${{ fromJSON(steps.get-pr-info.outputs.pr-info).base.ref }}
checks:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
with:
fetch-depth: 1
- uses: pre-commit/action@v3.0.1
build:
needs: checks
secrets: inherit
uses: rapidsai/shared-workflows/.github/workflows/conda-python-build.yaml@main
with:
build_type: pull-request
script: ci/build_python.sh
pure-conda: cuda_major
# test-conda-nightly-env:
# needs: checks
# secrets: inherit
# # We use a build workflow so that we get CPU jobs and high matrix coverage
# uses: rapidsai/shared-workflows/.github/workflows/conda-python-build.yaml@main
# with:
# build_type: pull-request
# script: "ci/test_conda_nightly_env.sh"
# # just using the workflow to get the matrix, this isn't actually building anything we want to upload
# upload-artifacts: false
stable-install-pip-test-matrix:
secrets: inherit
uses: rapidsai/shared-workflows/.github/workflows/compute-matrix.yaml@main
with:
build_type: nightly
matrix_name: wheels-test
test-stable-install-pip:
needs: stable-install-pip-test-matrix
uses: rapidsai/shared-workflows/.github/workflows/custom-job.yaml@main
strategy:
fail-fast: false
matrix: ${{ fromJSON(needs.stable-install-pip-test-matrix.outputs.matrix) }}
with:
build_type: pull-request
arch: "${{matrix.ARCH}}"
node_type: "gpu-${{ matrix.GPU }}-latest-1"
container_image: "rapidsai/citestwheel:26.04-cuda${{ matrix.CUDA_VER }}-${{ matrix.LINUX_VER }}-py${{ matrix.PY_VER }}-${{ matrix.ARCH }}"
script: |
./ci/stable_install/install_and_test_pip.sh --cuda ${{ matrix.CUDA_VER }} --python ${{ matrix.PY_VER }}
stable-install-conda-test-matrix:
secrets: inherit
uses: rapidsai/shared-workflows/.github/workflows/compute-matrix.yaml@main
with:
build_type: nightly
matrix_name: conda-python-tests
test-stable-install-conda:
needs: stable-install-conda-test-matrix
uses: rapidsai/shared-workflows/.github/workflows/custom-job.yaml@main
strategy:
fail-fast: false
matrix: ${{ fromJSON(needs.stable-install-conda-test-matrix.outputs.matrix) }}
with:
build_type: pull-request
node_type: "gpu-${{ matrix.GPU }}-latest-1"
arch: "${{ matrix.ARCH }}"
container_image: "rapidsai/ci-conda:26.04-cuda${{ matrix.CUDA_VER }}-${{ matrix.LINUX_VER }}-py${{ matrix.PY_VER }}"
script: |
./ci/stable_install/install_and_test_conda.sh --cuda ${{ matrix.CUDA_VER }} --python ${{ matrix.PY_VER }}