Skip to content

Commit 66e83b5

Browse files
committed
BICAN McCarroll workflow templates
1 parent 0d21fae commit 66e83b5

7 files changed

Lines changed: 95 additions & 0 deletions

.github/CODEOWNERS

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,9 @@
99
# of maintenance through personnel turnover.
1010
/.github/workflow-templates/bits-example.yml @broadinstitute/devnull
1111
/.github/workflow-templates/bits-example.properties.json @broadinstitute/devnull
12+
/.github/workflow-templates/bican-mccarroll-r-package.yml @broadinstitute/bican-mccarroll-admin
13+
/.github/workflow-templates/bican-mccarroll-r-package.properties.json @broadinstitute/bican-mccarroll-admin
14+
/.github/workflow-templates/bican-mccarroll-python-package.yml @broadinstitute/bican-mccarroll-admin
15+
/.github/workflow-templates/bican-mccarroll-python-package.properties.json @broadinstitute/bican-mccarroll-admin
16+
/.github/workflow-templates/bican-mccarroll-roxygen.yml @broadinstitute/bican-mccarroll-admin
17+
/.github/workflow-templates/bican-mccarroll-roxygen.properties.json @broadinstitute/bican-mccarroll-admin
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"name": "BICAN McCarroll python package Workflow",
3+
"description": "Invoke the BICAN McCarroll reusable python package CI workflow.",
4+
"categories": [
5+
"Python",
6+
"continuous-integration"
7+
]
8+
}
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
---
2+
name: "Python unit tests for a package"
3+
"on":
4+
push:
5+
branches:
6+
- "$default-branch"
7+
pull_request:
8+
branches:
9+
- "$default-branch"
10+
paths:
11+
- "python/bican_mccarroll_<package_name>/**"
12+
13+
14+
jobs:
15+
call-python-reusable:
16+
uses: "./.github/workflows/python-reusable.yml"
17+
with:
18+
package_name: "<package_name>"
19+
secrets: "inherit"
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"name": "BICAN McCarroll R package Workflow",
3+
"description": "Invoke the BICAN McCarroll reusable R package CI workflow.",
4+
"categories": [
5+
"R",
6+
"continuous-integration"
7+
]
8+
}
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
---
2+
# Workflow derived from https://github.com/r-lib/actions/tree/v2/examples
3+
# Need help debugging build failures?
4+
# Start at https://github.com/r-lib/actions#where-to-find-help
5+
"on":
6+
push:
7+
branches:
8+
- "$default-branch"
9+
pull_request:
10+
branches:
11+
- "$default-branch"
12+
paths:
13+
- "R/bican.mccarroll.<package_name>/**"
14+
15+
name: "Build and check R package"
16+
17+
18+
jobs:
19+
call-R-reusable:
20+
uses: "./.github/workflows/R-reusable.yml"
21+
with:
22+
package_name: "<package_name>"
23+
secrets: "inherit"
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"name": "BICAN McCarroll Roxygen package Workflow",
3+
"description": "Invoke the BICAN McCarroll reusable R package documentation generation workflow.",
4+
"categories": [
5+
"R",
6+
"continuous-integration"
7+
]
8+
}
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
---
2+
# Workflow derived from dplyr/.github/workflows/pr-commands.yaml
3+
# Need help debugging build failures?
4+
# Start at https://github.com/r-lib/actions#where-to-find-help
5+
"on":
6+
issue_comment:
7+
types:
8+
- "created"
9+
paths:
10+
- "R/bican.mccarroll.<package_name>/**"
11+
12+
name: >
13+
Run roxygen2 on an R package and commit changes.
14+
Triggered by a PR comment '/document.<package_name>'
15+
16+
permissions: "write-all"
17+
18+
jobs:
19+
call-roxygen-reusable:
20+
uses: "./.github/workflows/roxygen-reusable.yml"
21+
with:
22+
package_name: "<package_name>"
23+
secrets: "inherit"

0 commit comments

Comments
 (0)