Skip to content

Commit 9631c74

Browse files
authored
Merge pull request #545 from Appsilon/e2e-sparse-checkout
Use sparse checkout in E2E workflow
2 parents a5da6c5 + 7be491c commit 9631c74

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

.github/workflows/e2e-test.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,13 @@ jobs:
2525
- {os: ubuntu-22.04, r: 'oldrel'}
2626

2727
steps:
28-
- name: Checkout E2E Directory
29-
# Only checkout the necessary files; the DESCRIPTION file breaks test_r() due to Issue #461
30-
uses: Bhacaz/checkout-files@v2
28+
- name: Checkout E2E directory
29+
uses: actions/checkout@v4
3130
with:
32-
files: tests/e2e
33-
branch: ${{ github.head_ref || github.ref_name }}
31+
# Only checkout the necessary files; the DESCRIPTION file breaks test_r():
32+
# https://github.com/Appsilon/rhino/issues/461
33+
sparse-checkout: /tests/e2e/
34+
sparse-checkout-cone-mode: false
3435

3536
- name: Install R
3637
uses: r-lib/actions/setup-r@v2

0 commit comments

Comments
 (0)