-
-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move the working directory where it should be
- Loading branch information
1 parent
6e0c72a
commit 9d31c30
Showing
1 changed file
with
7 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -515,14 +515,16 @@ jobs: | |
path: "${{ inputs.additional-caches }}" | ||
key: additional-caches-${{ runner.os }} | ||
|
||
- name: Setup git checkout ⚙️ | ||
uses: actions/[email protected] | ||
with: | ||
path: ${{ github.event.repository.name }}/${{ inputs.package-subdirectory }} | ||
|
||
- name: Check only affected modules 🎯 | ||
if: startsWith(${{ github.event.repository.name }}, "teal.modules.") && github.event_name == 'pull_request' | ||
run: | | ||
echo pwd | ||
# Set working directory where the git repo is | ||
cd ${{ github.event.repository.name }}/${{ inputs.package-subdirectory }} | ||
ls -lh | ||
# Get the list of R files that have changed | ||
files=$(git diff --name-only main.. -- tests/* R/*.R) | ||
|