Skip to content

Commit 761d440

Browse files
authored
build-check-install - extend params for setup-r-depenencies (#260)
Extend parameters to support custom logic in TLG-Catalog --------- Signed-off-by: Pawel Rucki <[email protected]>
1 parent 65d0b5c commit 761d440

File tree

5 files changed

+37
-5
lines changed

5 files changed

+37
-5
lines changed

.github/workflows/bioccheck.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ jobs:
162162
with:
163163
lookup-refs: ${{ inputs.lookup-refs }}
164164
github-token: ${{ steps.github-token.outputs.token }}
165-
repository-path: ${{ github.event.repository.name }}
165+
repository-path: ${{ github.event.repository.name }}/${{ inputs.package-subdirectory }}
166166

167167
- name: Run BiocCheck ☣️
168168
uses: insightsengineering/bioc-check-action@v1

.github/workflows/build-check-install.yaml

Lines changed: 33 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,34 @@ on:
144144
required: false
145145
type: string
146146
default: ""
147+
skip-desc-branch:
148+
description: |
149+
Passed to `insightsengineering/actions/setup-r-dependencies`.
150+
Used only if deps-installation-method == 'setup-r-dependencies'.
151+
required: false
152+
type: boolean
153+
default: false
154+
skip-desc-dev:
155+
description: |
156+
Passed to `insightsengineering/actions/setup-r-dependencies`.
157+
Used only if deps-installation-method == 'setup-r-dependencies'.
158+
required: false
159+
type: boolean
160+
default: false
161+
repository-list:
162+
description: |
163+
Passed to `insightsengineering/actions/setup-r-dependencies`.
164+
Used only if deps-installation-method == 'setup-r-dependencies'.
165+
required: false
166+
type: string
167+
default: "PPM=PPM@latest"
168+
cache-version:
169+
description: |
170+
Passed to `insightsengineering/actions/setup-r-dependencies`.
171+
Used only if deps-installation-method == 'setup-r-dependencies'.
172+
required: true
173+
type: string
174+
default: "1"
147175
unit-test-report-brand:
148176
description: Image URL to use in unit test report for branding. If empty, the default xunit-viewer brand will be used.
149177
required: false
@@ -412,7 +440,11 @@ jobs:
412440
with:
413441
lookup-refs: ${{ inputs.lookup-refs }}
414442
github-token: ${{ steps.github-token.outputs.token }}
415-
repository-path: ${{ github.event.repository.name }}
443+
repository-path: ${{ github.event.repository.name }}/${{ inputs.package-subdirectory }}
444+
skip-desc-branch: ${{ inputs.skip-desc-branch }}
445+
skip-desc-dev: ${{ inputs.skip-desc-dev }}
446+
repository-list: ${{ inputs.repository-list }}
447+
cache-version: ${{ inputs.cache-version }}
416448

417449
- name: Install dependencies from package repositories 🗄️
418450
if: inputs.install-deps-from-package-repositories != ''

.github/workflows/pkgdown.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ jobs:
234234
with:
235235
lookup-refs: ${{ inputs.lookup-refs }}
236236
github-token: ${{ steps.github-token.outputs.token }}
237-
repository-path: ${{ github.event.repository.name }}
237+
repository-path: ${{ github.event.repository.name }}/${{ inputs.package-subdirectory }}
238238

239239
- name: Install R package 🚧
240240
run: |

.github/workflows/roxygen.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ jobs:
156156
with:
157157
lookup-refs: ${{ inputs.lookup-refs }}
158158
github-token: ${{ steps.github-token.outputs.token }}
159-
repository-path: ${{ github.event.repository.name }}
159+
repository-path: ${{ github.event.repository.name }}/${{ inputs.package-subdirectory }}
160160

161161
- name: Generate man pages 📄
162162
run: |

.github/workflows/test-coverage.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ jobs:
247247
with:
248248
lookup-refs: ${{ inputs.lookup-refs }}
249249
github-token: ${{ steps.github-token.outputs.token }}
250-
repository-path: ${{ github.event.repository.name }}
250+
repository-path: ${{ github.event.repository.name }}/${{ inputs.package-subdirectory }}
251251

252252
- name: Install R package 🚧
253253
run: |

0 commit comments

Comments
 (0)