Skip to content

Commit

Permalink
Merge pull request #545 from Appsilon/e2e-sparse-checkout
Browse files Browse the repository at this point in the history
Use sparse checkout in E2E workflow
  • Loading branch information
kamilzyla authored Jan 16, 2024
2 parents a5da6c5 + 7be491c commit 9631c74
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 9631c74

Please sign in to comment.