Skip to content

Commit 626121f

Browse files
committed
Generalize the wording of the step
1 parent cae3056 commit 626121f

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

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

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -246,9 +246,9 @@ on:
246246
required: false
247247
type: boolean
248248
default: false
249-
fast-tests:
249+
selected-shinytests:
250250
description: |
251-
Should shinytests2 tests only run per modified module?
251+
Should shinytests2 tests only run per modified corresponding R file in R/ folder?
252252
If enabled and there is a module modificated only that shinytest2 file will be tested.
253253
Can be ignored if used [run-all-tests] on the commit message.
254254
required: false
@@ -524,6 +524,7 @@ jobs:
524524
steps:
525525
- name: Get changed files 📃
526526
id: changed-files
527+
if: inputs.selected-shinytests == true
527528
uses: tj-actions/changed-files@v45
528529
with:
529530
path: ${{ github.event.repository.name }}/${{ inputs.package-subdirectory }}
@@ -533,7 +534,7 @@ jobs:
533534
R/*.R
534535
535536
- name: Check only affected modules 🎯
536-
if: inputs.fast-tests == true
537+
if: inputs.selected-shinytests == true
537538
working-directory: ${{ github.event.repository.name }}/${{ inputs.package-subdirectory }}
538539
env:
539540
ALL_CHANGED_FILES: ${{ steps.changed-files.outputs.all_changed_files }}

0 commit comments

Comments
 (0)