Skip to content

Commit

Permalink
Filter notebook tests
Browse files Browse the repository at this point in the history
  • Loading branch information
KyleFromNVIDIA committed Aug 23, 2024
1 parent 875628c commit 0761f04
Showing 1 changed file with 13 additions and 4 deletions.
17 changes: 13 additions & 4 deletions .github/workflows/pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,9 @@ jobs:
name: "Check changed files"
outputs:
test_cpp: ${{ steps.changed-files.outputs.cpp_any_changed == 'true' }}
test_python: ${{ steps.changed-files.outputs.python_any_changed == 'true' }}
test_java: ${{ steps.changed-files.outputs.java_any_changed == 'true' }}
test_notebooks: ${{ steps.changed-files.outputs.notebooks_any_changed == 'true' }}
test_python: ${{ steps.changed-files.outputs.python_any_changed == 'true' }}
steps:
- name: Get PR info
id: get-pr-info
Expand All @@ -71,17 +72,24 @@ jobs:
- '!python/**'
# TODO: Remove this before merging
- '!.github/**'
python:
java:
- '**'
- '!docs/**'
- '!notebooks/**'
- '!python/**'
# TODO: Remove this before merging
- '!.github/**'
notebooks:
- '**'
- '!docs/**'
- '!java/**'
# TODO: Remove this before merging
- '!.github/**'
java:
python:
- '**'
- '!docs/**'
- '!java/**'
- '!notebooks/**'
- '!python/**'
# TODO: Remove this before merging
- '!.github/**'
checks:
Expand Down Expand Up @@ -157,6 +165,7 @@ jobs:
needs: conda-python-build
secrets: inherit
uses: rapidsai/shared-workflows/.github/workflows/[email protected]
if: needs.changed-files.outputs.test_notebooks == 'true'
with:
build_type: pull-request
node_type: "gpu-v100-latest-1"
Expand Down

0 comments on commit 0761f04

Please sign in to comment.