Skip to content

Commit c219f50

Browse files
committed
enable conda python tests to check lockfile behavior
1 parent c7910d5 commit c219f50

File tree

1 file changed

+19
-12
lines changed

1 file changed

+19
-12
lines changed

.github/workflows/pr.yaml

Lines changed: 19 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -10,29 +10,36 @@ concurrency:
1010
cancel-in-progress: true
1111

1212
jobs:
13-
pr-builder:
14-
needs:
15-
- conda-cpp-build
16-
- conda-cpp-tests
17-
secrets: inherit
18-
uses: rapidsai/shared-workflows/.github/workflows/[email protected]
19-
if: always()
20-
with:
21-
needs: ${{ toJSON(needs) }}
22-
2313
conda-cpp-build:
2414
secrets: inherit
2515
uses: rapidsai/shared-workflows/.github/workflows/[email protected]
2616
with:
2717
build_type: pull-request
2818
script: ci/build_cpp.sh
29-
3019
conda-cpp-tests:
3120
needs: [conda-cpp-build]
3221
secrets: inherit
3322
uses: rapidsai/shared-workflows/.github/workflows/conda-cpp-tests.yaml@msarahan-add-prepare-conda-action
23+
if: fromJSON(needs.changed-files.outputs.changed_file_groups).test_cpp
3424
with:
3525
build_type: pull-request
3626
container-options: "--cap-add CAP_SYS_PTRACE --shm-size=8g --ulimit=nofile=1000000:1000000"
3727
script: ci/test_cpp.sh
38-
28+
conda-python-tests:
29+
needs: [conda-cpp-build]
30+
secrets: inherit
31+
uses: rapidsai/shared-workflows/.github/workflows/conda-python-tests.yaml@msarahan-add-prepare-conda-action
32+
if: fromJSON(needs.changed-files.outputs.changed_file_groups).test_python
33+
with:
34+
build_type: pull-request
35+
container-options: "--cap-add CAP_SYS_PTRACE --shm-size=8g --ulimit=nofile=1000000:1000000"
36+
script: ci/test_python.sh
37+
conda-python-distributed-tests:
38+
needs: [conda-cpp-build]
39+
secrets: inherit
40+
uses: rapidsai/shared-workflows/.github/workflows/conda-python-tests.yaml@msarahan-add-prepare-conda-action
41+
if: fromJSON(needs.changed-files.outputs.changed_file_groups).test_python
42+
with:
43+
build_type: pull-request
44+
script: "ci/test_python_distributed.sh"
45+
container-options: "--cap-add CAP_SYS_PTRACE --shm-size=8g --ulimit=nofile=1000000:1000000"

0 commit comments

Comments
 (0)