Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use sparse checkout in E2E workflow #545

Merged
merged 1 commit into from
Jan 16, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading