Skip to content

Commit 3f620a5

Browse files
committed
test
1 parent b21750e commit 3f620a5

2 files changed

Lines changed: 31 additions & 4 deletions

File tree

.github/workflows/matrix.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: Matrix
2+
on:
3+
push:
4+
branches:
5+
- 'trunk'
6+
7+
permissions: {}
8+
9+
jobs:
10+
test:
11+
name: Test git deepen ${{ matrix.n }}
12+
runs-on: ubuntu-latest
13+
timeout-minutes: 5
14+
strategy:
15+
matrix:
16+
n: [ 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20 ]
17+
steps:
18+
- run: |
19+
git init .
20+
/usr/bin/git remote add origin https://github.com/Automattic/jetpack
21+
/usr/bin/git config --local gc.auto 0
22+
/usr/bin/git -c protocol.version=2 fetch --no-tags --prune --no-recurse-submodules --depth=10 origin 57a055c07d944301558ce5727f803ee427abd15d
23+
/usr/bin/git sparse-checkout disable
24+
/usr/bin/git config --local --unset-all extensions.worktreeConfig
25+
/usr/bin/git -c protocol.version=2 fetch --no-tags --prune --progress --no-recurse-submodules --depth=10 origin 57a055c07d944301558ce5727f803ee427abd15d 77c13651933aedae78b1f6a2e3e0cef84943d2a3
26+
echo "---"
27+
cat .git/shallow
28+
echo "---"
29+
/usr/bin/git -c protocol.version=2 fetch --no-tags --prune --progress --no-recurse-submodules --depth=20 origin 57a055c07d944301558ce5727f803ee427abd15d 77c13651933aedae78b1f6a2e3e0cef84943d2a3
30+
echo "---"
31+
cat .git/shallow

.github/workflows/test.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -201,10 +201,6 @@ jobs:
201201
run: php -i
202202
- name: version
203203
run: php -r 'var_dump( Imagick::getVersion() );'
204-
- name: ???
205-
run: |
206-
composer config --global --list
207-
cat /home/runner/.composer/auth.json
208204

209205
job7:
210206
name: sem?

0 commit comments

Comments
 (0)