Skip to content

Commit

Permalink
ci: Use sparse checkout in E2E workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
kamilzyla committed Jan 15, 2024
1 parent a5da6c5 commit 7be491c
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/e2e-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,13 @@ jobs:
- {os: ubuntu-22.04, r: 'oldrel'}

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

- name: Install R
uses: r-lib/actions/setup-r@v2
Expand Down

0 comments on commit 7be491c

Please sign in to comment.