Skip to content

Commit

Permalink
Add ci run_ scripts needed for build infra (#434)
Browse files Browse the repository at this point in the history
These `run_*` scripts are needed by the build infra team and bring the cuvs project in line with the rest of RAPIDS

Authors:
  - Robert Maynard (https://github.com/robertmaynard)

Approvers:
  - James Lamb (https://github.com/jameslamb)

URL: #434
  • Loading branch information
robertmaynard authored Oct 30, 2024
1 parent d296d81 commit b422cbe
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
9 changes: 9 additions & 0 deletions ci/run_ctests.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/bin/bash
# Copyright (c) 2024, NVIDIA CORPORATION.

set -euo pipefail

# Support customizing the ctests' install location
cd "${INSTALL_PREFIX:-${CONDA_PREFIX:-/usr}}/bin/gtests/libcuvs/"

ctest --output-on-failure --no-tests=error "$@"
9 changes: 9 additions & 0 deletions ci/run_cuvs_pytests.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/bin/bash
# Copyright (c) 2024, NVIDIA CORPORATION.

set -euo pipefail

# Support invoking run_pytests.sh outside the script directory
cd "$(dirname "$(realpath "${BASH_SOURCE[0]}")")"/../python/cuvs/cuvs

pytest --cache-clear --verbose "$@" tests

0 comments on commit b422cbe

Please sign in to comment.