Skip to content

Commit

Permalink
build-check-install - extend params for setup-r-depenencies (#260)
Browse files Browse the repository at this point in the history
Extend parameters to support custom logic in TLG-Catalog

---------

Signed-off-by: Pawel Rucki <[email protected]>
  • Loading branch information
pawelru authored Nov 4, 2024
1 parent 65d0b5c commit 761d440
Show file tree
Hide file tree
Showing 5 changed files with 37 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/bioccheck.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ jobs:
with:
lookup-refs: ${{ inputs.lookup-refs }}
github-token: ${{ steps.github-token.outputs.token }}
repository-path: ${{ github.event.repository.name }}
repository-path: ${{ github.event.repository.name }}/${{ inputs.package-subdirectory }}

- name: Run BiocCheck ☣️
uses: insightsengineering/bioc-check-action@v1
Expand Down
34 changes: 33 additions & 1 deletion .github/workflows/build-check-install.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,34 @@ on:
required: false
type: string
default: ""
skip-desc-branch:
description: |
Passed to `insightsengineering/actions/setup-r-dependencies`.
Used only if deps-installation-method == 'setup-r-dependencies'.
required: false
type: boolean
default: false
skip-desc-dev:
description: |
Passed to `insightsengineering/actions/setup-r-dependencies`.
Used only if deps-installation-method == 'setup-r-dependencies'.
required: false
type: boolean
default: false
repository-list:
description: |
Passed to `insightsengineering/actions/setup-r-dependencies`.
Used only if deps-installation-method == 'setup-r-dependencies'.
required: false
type: string
default: "PPM=PPM@latest"
cache-version:
description: |
Passed to `insightsengineering/actions/setup-r-dependencies`.
Used only if deps-installation-method == 'setup-r-dependencies'.
required: true
type: string
default: "1"
unit-test-report-brand:
description: Image URL to use in unit test report for branding. If empty, the default xunit-viewer brand will be used.
required: false
Expand Down Expand Up @@ -412,7 +440,11 @@ jobs:
with:
lookup-refs: ${{ inputs.lookup-refs }}
github-token: ${{ steps.github-token.outputs.token }}
repository-path: ${{ github.event.repository.name }}
repository-path: ${{ github.event.repository.name }}/${{ inputs.package-subdirectory }}
skip-desc-branch: ${{ inputs.skip-desc-branch }}
skip-desc-dev: ${{ inputs.skip-desc-dev }}
repository-list: ${{ inputs.repository-list }}
cache-version: ${{ inputs.cache-version }}

- name: Install dependencies from package repositories 🗄️
if: inputs.install-deps-from-package-repositories != ''
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pkgdown.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ jobs:
with:
lookup-refs: ${{ inputs.lookup-refs }}
github-token: ${{ steps.github-token.outputs.token }}
repository-path: ${{ github.event.repository.name }}
repository-path: ${{ github.event.repository.name }}/${{ inputs.package-subdirectory }}

- name: Install R package 🚧
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/roxygen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ jobs:
with:
lookup-refs: ${{ inputs.lookup-refs }}
github-token: ${{ steps.github-token.outputs.token }}
repository-path: ${{ github.event.repository.name }}
repository-path: ${{ github.event.repository.name }}/${{ inputs.package-subdirectory }}

- name: Generate man pages 📄
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-coverage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ jobs:
with:
lookup-refs: ${{ inputs.lookup-refs }}
github-token: ${{ steps.github-token.outputs.token }}
repository-path: ${{ github.event.repository.name }}
repository-path: ${{ github.event.repository.name }}/${{ inputs.package-subdirectory }}

- name: Install R package 🚧
run: |
Expand Down

0 comments on commit 761d440

Please sign in to comment.