From 7be491c513b764b7a15afa4a747bc9eb0c055166 Mon Sep 17 00:00:00 2001 From: Kamil Zyla Date: Mon, 15 Jan 2024 09:11:31 +0100 Subject: [PATCH] ci: Use sparse checkout in E2E workflow --- .github/workflows/e2e-test.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/e2e-test.yml b/.github/workflows/e2e-test.yml index d1ea1fa6..9ff2ecdf 100644 --- a/.github/workflows/e2e-test.yml +++ b/.github/workflows/e2e-test.yml @@ -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