Skip to content

Commit

Permalink
Test CI
Browse files Browse the repository at this point in the history
Signed-off-by: Vibhu Jawa <[email protected]>
  • Loading branch information
VibhuJawa committed Jul 17, 2024
1 parent 7fa16c2 commit c457442
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 17 deletions.
41 changes: 24 additions & 17 deletions .github/workflows/gpu-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,23 +10,30 @@ on:
- "v[0-9]+.[0-9]+.[0-9]+"

jobs:
gpu-ci:
runs-on: linux-amd64-gpu-p100-latest-1
container:
image: nvcr.io/nvidia/rapidsai/base:24.06-cuda12.2-py3.11
options: >-
--shm-size=1G
--ulimit memlock=-1
--ulimit stack=67108864
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Run tests
run: |
bash -c "echo 'Running tests'"
pr-builder:
needs:
- checks
- python-gpu-tests
secrets: inherit
uses: rapidsai/shared-workflows/.github/workflows/[email protected]

checks:
secrets: inherit
uses: rapidsai/shared-workflows/.github/workflows/[email protected]
with:
enable_check_generated_files: false

python-gpu-tests:
needs:
- checks
secrets: inherit
uses: rapidsai/shared-workflows/.github/workflows/[email protected]
with:
build_type: pull-request
node_type: "gpu-v100-latest-1"
arch: "amd64"
container_image: "nvcr.io/nvidia/rapidsai/base:24.06-cuda12.2-py3.11"
run_script: "ci/test_gpu.sh"

# benchmark:
# runs-on: linux-amd64-gpu-p100-latest-1
Expand Down
8 changes: 8 additions & 0 deletions ci/test_gpu.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@

set -Eeuo pipefail

echo "Generate conda env for crossfit tests"
EXITCODE=0

echo "Crossfit test script exiting with value: ${EXITCODE}"
exit ${EXITCODE}

0 comments on commit c457442

Please sign in to comment.