-
-
Notifications
You must be signed in to change notification settings - Fork 8.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
160 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
# To get started with Dependabot version updates, you'll need to specify which | ||
# package ecosystems to update and where the package manifests are located. | ||
# Please see the documentation for all configuration options: | ||
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates | ||
|
||
version: 2 | ||
updates: | ||
- package-ecosystem: "maven" | ||
directory: "/jvm-packages" | ||
schedule: | ||
interval: "monthly" | ||
- package-ecosystem: "maven" | ||
directory: "/jvm-packages/xgboost4j" | ||
schedule: | ||
interval: "monthly" | ||
- package-ecosystem: "maven" | ||
directory: "/jvm-packages/xgboost4j-gpu" | ||
schedule: | ||
interval: "monthly" | ||
- package-ecosystem: "maven" | ||
directory: "/jvm-packages/xgboost4j-example" | ||
schedule: | ||
interval: "monthly" | ||
- package-ecosystem: "maven" | ||
directory: "/jvm-packages/xgboost4j-spark" | ||
schedule: | ||
interval: "monthly" | ||
- package-ecosystem: "maven" | ||
directory: "/jvm-packages/xgboost4j-spark-gpu" | ||
schedule: | ||
interval: "monthly" | ||
- package-ecosystem: "github-actions" | ||
directory: / | ||
schedule: | ||
interval: "monthly" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
# Configuration for lock-threads - https://github.com/dessant/lock-threads | ||
|
||
# Number of days of inactivity before a closed issue or pull request is locked | ||
daysUntilLock: 90 | ||
|
||
# Issues and pull requests with these labels will not be locked. Set to `[]` to disable | ||
exemptLabels: | ||
- feature-request | ||
|
||
# Label to add before locking, such as `outdated`. Set to `false` to disable | ||
lockLabel: false | ||
|
||
# Comment to post before locking. Set to `false` to disable | ||
lockComment: false | ||
|
||
# Assign `resolved` as the reason for locking. Set to `false` to disable | ||
setLockReason: true | ||
|
||
# Limit to only `issues` or `pulls` | ||
# only: issues | ||
|
||
# Optionally, specify configuration settings just for `issues` or `pulls` | ||
# issues: | ||
# exemptLabels: | ||
# - help-wanted | ||
# lockLabel: outdated | ||
|
||
# pulls: | ||
# daysUntilLock: 30 | ||
|
||
# Repository to extend settings from | ||
# _extends: repo |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
name: FreeBSD | ||
|
||
on: [push, pull_request] | ||
|
||
permissions: | ||
contents: read # to fetch code (actions/checkout) | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 20 | ||
name: A job to run test in FreeBSD | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
submodules: 'true' | ||
- name: Test in FreeBSD | ||
id: test | ||
uses: vmactions/freebsd-vm@v1 | ||
with: | ||
usesh: true | ||
prepare: | | ||
pkg install -y cmake git ninja googletest | ||
run: | | ||
mkdir build | ||
cd build | ||
cmake .. -GNinja -DGOOGLE_TEST=ON | ||
ninja -v | ||
./testxgboost |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
# Run expensive R tests with the help of rhub. Only triggered by a pull request review | ||
# See discussion at https://github.com/dmlc/xgboost/pull/6378 | ||
|
||
name: XGBoost-R-noLD | ||
|
||
on: | ||
pull_request_review_comment: | ||
types: [created] | ||
|
||
permissions: | ||
contents: read # to fetch code (actions/checkout) | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
test-R-noLD: | ||
if: github.event.comment.body == '/gha run r-nold-test' && contains('OWNER,MEMBER,COLLABORATOR', github.event.comment.author_association) | ||
timeout-minutes: 120 | ||
runs-on: ubuntu-latest | ||
container: | ||
image: rhub/debian-gcc-devel-nold | ||
steps: | ||
- name: Install git and system packages | ||
shell: bash | ||
run: | | ||
apt update && apt install libcurl4-openssl-dev libssl-dev libssh2-1-dev libgit2-dev libglpk-dev libxml2-dev libharfbuzz-dev libfribidi-dev git -y | ||
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6 | ||
with: | ||
submodules: 'true' | ||
|
||
- name: Install dependencies | ||
shell: bash -l {0} | ||
run: | | ||
/tmp/R-devel/bin/Rscript -e "source('./R-package/tests/helper_scripts/install_deps.R')" | ||
- name: Run R tests | ||
shell: bash | ||
run: | | ||
cd R-package && \ | ||
/tmp/R-devel/bin/R CMD INSTALL . && \ | ||
/tmp/R-devel/bin/R -q -e "library(testthat); setwd('tests'); source('testthat.R')" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,6 +18,7 @@ dependencies: | |
- pytest-timeout | ||
- pytest-cov | ||
- dask | ||
- ninja | ||
- dpcpp_linux-64 | ||
- onedpl-devel | ||
- intel-openmp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters