mirror of
https://github.com/actions/checkout.git
synced 2025-03-28 11:00:05 +01:00
feat: updated sparse-checkout test position to avoid errors with default test behaviour
This commit is contained in:
parent
15b0c61ab0
commit
fe6a5ed262
1 changed files with 14 additions and 13 deletions
27
.github/workflows/test.yml
vendored
27
.github/workflows/test.yml
vendored
|
@ -72,6 +72,20 @@ jobs:
|
|||
shell: bash
|
||||
run: __test__/verify-side-by-side.sh
|
||||
|
||||
# Sparse checkout
|
||||
- name: Sparse checkout
|
||||
uses: ./
|
||||
with:
|
||||
sparse-checkout: |
|
||||
__test__
|
||||
.github
|
||||
dist
|
||||
|
||||
- name: Verify sparse checkout basic
|
||||
run: __test__/verify-sparse-checkout-basic.sh
|
||||
- name: Verify sparse checkout example
|
||||
run: __test__/verify-sparse-checkout.sh
|
||||
|
||||
# LFS
|
||||
- name: Checkout LFS
|
||||
uses: ./
|
||||
|
@ -113,19 +127,6 @@ jobs:
|
|||
- name: Verify submodules recursive
|
||||
run: __test__/verify-submodules-recursive.sh
|
||||
|
||||
# Sparse checkout
|
||||
- name: Sparse checkout
|
||||
uses: ./
|
||||
with:
|
||||
sparse-checkout: |
|
||||
__test__
|
||||
.github
|
||||
dist
|
||||
- name: Verify sparse checkout basic
|
||||
run: __test__/verify-sparse-checkout-basic.sh
|
||||
- name: Verify sparse checkout example
|
||||
run: __test__/verify-sparse-checkout.sh
|
||||
|
||||
# Basic checkout using REST API
|
||||
- name: Remove basic
|
||||
if: runner.os != 'windows'
|
||||
|
|
Loading…
Add table
Reference in a new issue