Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 0 additions & 26 deletions .github/workflows/conda-python-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -80,30 +80,13 @@ jobs:
fail-fast: false
matrix: ${{ fromJSON(needs.compute-matrix.outputs.MATRIX) }}
runs-on: "linux-${{ matrix.ARCH }}-gpu-${{ matrix.GPU }}-${{ matrix.DRIVER }}-1"
env:
RAPIDS_ARTIFACTS_DIR: ${{ github.workspace }}/artifacts
RAPIDS_COVERAGE_DIR: ${{ github.workspace }}/coverage-results
NUMBA_VERSION: ${{ matrix.NUMBA_VERSION }}
RAPIDS_TESTS_DIR: ${{ github.workspace }}/test-results
container:
image: rapidsai/ci-conda:cuda${{ matrix.CUDA_VER }}-${{ matrix.LINUX_VER }}-py${{ matrix.PY_VER }}
options: ${{ inputs.container-options }}
env:
RAPIDS_BUILD_TYPE: ${{ inputs.build_type }}
NVIDIA_VISIBLE_DEVICES: ${{ env.NVIDIA_VISIBLE_DEVICES }}
timeout-minutes: 60
steps:
- uses: actions/checkout@v6
with:
repository: ${{ inputs.repo }}
ref: ${{ inputs.sha }}
fetch-depth: 0
- name: Standardize repository information
run: |
echo "RAPIDS_REPOSITORY=${{ inputs.repo || github.repository }}" >> "${GITHUB_ENV}"
echo "RAPIDS_SHA=$(git rev-parse HEAD)" >> "${GITHUB_ENV}"
echo "RAPIDS_REF_NAME=${{ inputs.branch || github.ref_name }}" >> "${GITHUB_ENV}"
echo "RAPIDS_NIGHTLY_DATE=${{ inputs.date }}" >> "${GITHUB_ENV}"
- name: Setup proxy cache
uses: nv-gha-runners/setup-proxy-cache@main
continue-on-error: true
Expand All @@ -129,11 +112,6 @@ jobs:
env:
GH_TOKEN: ${{ github.token }}
CUDA_VER: ${{ matrix.CUDA_VER }}
- name: Generate test report
uses: test-summary/action@v2.4
with:
paths: "${{ env.RAPIDS_TESTS_DIR }}/*.xml"
if: always()
- name: Run codecov
if: inputs.run_codecov
env:
Expand All @@ -143,8 +121,4 @@ jobs:
-v \
upload-process \
-C ${{ github.sha }} \
-s "${RAPIDS_COVERAGE_DIR}" \
--handle-no-reports-found
Comment on lines 115 to 124
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

style: Verify codecov correctly finds coverage reports without the -s flag pointing to RAPIDS_COVERAGE_DIR. Tests may need to be configured to generate coverage files in the expected location.

- name: Upload additional artifacts
if: "!cancelled()"
run: rapids-upload-artifacts-dir cuda${RAPIDS_CUDA_VERSION%%.*}_$(arch)_py${RAPIDS_PY_VERSION//.}
14 changes: 2 additions & 12 deletions ci/test_conda.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,24 +10,14 @@ if [ "${NUMBA_VERSION:-*}" != "*" ]; then
pixi add --feature "${PY_VER_PART}" "numba=${NUMBA_VERSION}"
fi

rapids-logger "Check GPU usage"
nvidia-smi

EXITCODE=0
trap "EXITCODE=1" ERR
set +e

rapids-logger "Show Numba system info"
pixi run -e "${PIXI_ENV}" python -m numba --sysinfo

rapids-logger "Test importing numba.cuda"
pixi run -e "${PIXI_ENV}" python -c "from numba import cuda"
pixi run -e "${PIXI_ENV}" test -n auto --dist loadscope --loadscope-reorder -v

rapids-logger "Run Tests"
pixi run -e "${PIXI_ENV}" test -n auto \
--dist loadscope \
--loadscope-reorder \
-v

rapids-logger "Test script exiting with value: $EXITCODE"
exit ${EXITCODE}
exit "${EXITCODE}"
Loading