File tree 3 files changed +31
-4
lines changed
3 files changed +31
-4
lines changed Original file line number Diff line number Diff line change @@ -16,12 +16,21 @@ jobs:
16
16
- test-conda-nightly-env
17
17
secrets : inherit
18
18
uses : rapidsai/shared-workflows/.github/workflows/pr-builder.yaml@branch-25.04
19
+ checks :
20
+ runs-on : ubuntu-latest
21
+ steps :
22
+ - uses : actions/checkout@v4
23
+ with :
24
+ fetch-depth : 1
25
+ - uses : pre-commit/action@v3.0.1
19
26
build :
27
+ needs : checks
20
28
secrets : inherit
21
29
uses : rapidsai/shared-workflows/.github/workflows/conda-python-build.yaml@branch-25.04
22
30
with :
23
31
build_type : pull-request
24
32
test-conda-nightly-env :
33
+ needs : checks
25
34
secrets : inherit
26
35
# We use a build workflow so that we get CPU jobs and high matrix coverage
27
36
uses : rapidsai/shared-workflows/.github/workflows/conda-python-build.yaml@branch-25.04
Original file line number Diff line number Diff line change
1
+ ---
2
+ # Copyright (c) 2025, NVIDIA CORPORATION.
3
+
4
+ repos :
5
+ - repo : https://github.com/pre-commit/pre-commit-hooks
6
+ rev : v5.0.0
7
+ hooks :
8
+ - id : trailing-whitespace
9
+ - id : check-added-large-files
10
+ - id : end-of-file-fixer
11
+ - repo : https://github.com/astral-sh/ruff-pre-commit
12
+ rev : v0.9.3
13
+ hooks :
14
+ - id : ruff
15
+ args : ["--fix"]
16
+ - id : ruff-format
17
+ - repo : https://github.com/rapidsai/pre-commit-hooks
18
+ rev : v0.5.0
19
+ hooks :
20
+ - id : verify-copyright
Original file line number Diff line number Diff line change
1
+ # Copyright (c) 2024-2025, NVIDIA CORPORATION.
1
2
import json
2
3
import re
3
- import subprocess
4
4
import sys
5
5
from datetime import datetime , timedelta
6
6
18
18
"libxgboost" ,
19
19
"py-xgboost" ,
20
20
"xgboost" ,
21
- # TODO: Do we want ucx-proc on rapidsai or from conda-forge?
22
- "ucx-proc" ,
23
21
}
24
22
25
23
# ANSI color codes used to highlight lines
@@ -139,7 +137,7 @@ def check_env(json_path):
139
137
140
138
if __name__ == "__main__" :
141
139
if len (sys .argv ) != 2 :
142
- print ("Provide only one argument, the filepath to a JSON output from " " conda." )
140
+ print ("Provide only one argument, the filepath to a JSON output from conda." )
143
141
sys .exit (1 )
144
142
145
143
sys .exit (check_env (sys .argv [1 ]))
You can’t perform that action at this time.
0 commit comments