Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
tianlh
LightGBM-DCU
Commits
92aa07b4
Unverified
Commit
92aa07b4
authored
Nov 01, 2024
by
Nikita Titov
Committed by
GitHub
Oct 31, 2024
Browse files
[ci] check PowerShell scripts with PSScriptAnalyzer (part 2) (#6709)
parent
8d5dca2e
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
214 additions
and
214 deletions
+214
-214
.ci/install-opencl.ps1
.ci/install-opencl.ps1
+14
-14
.ci/test-r-package-windows.ps1
.ci/test-r-package-windows.ps1
+121
-121
.ci/test-windows.ps1
.ci/test-windows.ps1
+78
-78
.ci/test.sh
.ci/test.sh
+1
-1
No files found.
.ci/install-opencl.ps1
View file @
92aa07b4
.ci/test-r-package-windows.ps1
View file @
92aa07b4
.ci/test-windows.ps1
View file @
92aa07b4
.ci/test.sh
View file @
92aa07b4
...
@@ -100,7 +100,7 @@ fi
...
@@ -100,7 +100,7 @@ fi
if
[[
$TASK
==
"lint"
]]
;
then
if
[[
$TASK
==
"lint"
]]
;
then
pwsh
-command
"Install-Module -Name PSScriptAnalyzer -Scope CurrentUser -SkipPublisherCheck"
pwsh
-command
"Install-Module -Name PSScriptAnalyzer -Scope CurrentUser -SkipPublisherCheck"
echo
"Linting PowerShell code"
echo
"Linting PowerShell code"
pwsh
-file
"./.ci/lint-powershell.ps1"
||
exit
0
pwsh
-file
"./.ci/lint-powershell.ps1"
||
:
conda create
-q
-y
-n
"
${
CONDA_ENV
}
"
\
conda create
-q
-y
-n
"
${
CONDA_ENV
}
"
\
"
${
CONDA_PYTHON_REQUIREMENT
}
"
\
"
${
CONDA_PYTHON_REQUIREMENT
}
"
\
'cmakelint>=1.4.3'
\
'cmakelint>=1.4.3'
\
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment