Skip to content

Commit

Permalink
[r12.0] update workflows for release branches (#213)
Browse files Browse the repository at this point in the history
  • Loading branch information
cdeepali authored Feb 5, 2024
1 parent 0bc8a6a commit ee2c71f
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 6 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/builder-unit-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,13 @@ name: Open-CE Builder Unit Tests

on:
push:
branches: [main]
branches:
- 'main' # matches the main branch
- 'r*' # matches every release branch
pull_request:
branches: [main]
branches:
- 'main' # matches the main branch
- 'r*' # matches every release branch

jobs:
build:
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/conda-recipe-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@ name: Open-CE PR Tests for Conda recipe

on:
pull_request:
branches: [main]
branches:
- 'main' # matches the main branch
- 'r*' # matches every release branch

jobs:
required_tests:
Expand Down
10 changes: 7 additions & 3 deletions .github/workflows/xgboost-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,13 @@ name: Open-CE XGBoost Build

on:
push:
branches: [main]
branches:
- 'main' # matches the main branch
- 'r*' # matches every release branch
pull_request:
branches: [main]
branches:
- 'main' # matches the main branch
- 'r*' # matches every release branch

jobs:
build:
Expand All @@ -29,7 +33,7 @@ jobs:
shell: bash -l {0}
# yamllint disable rule:line-length
run: |
open-ce build env xgboost-env \
open-ce build env https://raw.githubusercontent.com/open-ce/open-ce/open-ce-r1.9/envs/xgboost-env.yaml \
--container_build \
--python_versions ${{ matrix.python-version }} \
--build_types cpu
Expand Down

0 comments on commit ee2c71f

Please sign in to comment.