Read-only mirror — the public repositories of the Forgejo instance, refreshed every 10 minutes. The live instance (fg.dieschoenewolke.de) is reachable only over the VPN; clone here with https://git.dieschoenewolke.de/git/<owner>/<repo>.git.
summaryrefslogtreecommitdiff
path: root/.github/workflows/test.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/test.yml')
-rw-r--r--.github/workflows/test.yml27
1 files changed, 27 insertions, 0 deletions
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index c28e771..d8b0b6d 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -72,6 +72,33 @@ jobs:
shell: bash
run: __test__/verify-side-by-side.sh
+ # Sparse checkout
+ - name: Sparse checkout
+ uses: ./
+ with:
+ sparse-checkout: |
+ __test__
+ .github
+ dist
+ path: sparse-checkout
+
+ - name: Verify sparse checkout
+ run: __test__/verify-sparse-checkout.sh
+
+ # Sparse checkout (non-cone mode)
+ - name: Sparse checkout (non-cone mode)
+ uses: ./
+ with:
+ sparse-checkout: |
+ /__test__/
+ /.github/
+ /dist/
+ sparse-checkout-cone-mode: false
+ path: sparse-checkout-non-cone-mode
+
+ - name: Verify sparse checkout (non-cone mode)
+ run: __test__/verify-sparse-checkout-non-cone-mode.sh
+
# LFS
- name: Checkout LFS
uses: ./