1919 with :
2020 fetch-depth : 0
2121
22+ - name : Setup fake git remote for testing
23+ uses : ./.github/workflows/test-helpers/setup-fake-remote
24+
2225 - name : Copy test fixture files (pip/uv)
2326 if : matrix.package-manager != 'pixi'
2427 run : |
5053 echo "groups=groups: docs" >> $GITHUB_OUTPUT
5154 fi
5255
53- - name : Setup fake git remote for testing
54- uses : ./.github/workflows/test-helpers/setup-fake-remote
55-
5656 - name : Test MkDocs deploy for PR
5757 uses : ./actions/mkdocs-deploy
5858 with :
@@ -73,16 +73,16 @@ jobs:
7373 with :
7474 fetch-depth : 0
7575
76+ - name : Setup fake git remote for testing
77+ uses : ./.github/workflows/test-helpers/setup-fake-remote
78+
7679 - name : Copy test fixture files
7780 run : |
7881 cp tests/data/mkdocs-deploy/test-main-trigger/pyproject.toml .
7982 cp tests/data/mkdocs-deploy/test-main-trigger/uv.lock .
8083 cp tests/data/mkdocs-deploy/test-main-trigger/mkdocs.yml .
8184 cp -r tests/data/mkdocs-deploy/test-main-trigger/docs .
8285
83- - name : Setup fake git remote for testing
84- uses : ./.github/workflows/test-helpers/setup-fake-remote
85-
8686 - name : Test MkDocs deploy for main
8787 uses : ./actions/mkdocs-deploy
8888 with :
@@ -110,6 +110,9 @@ jobs:
110110 with :
111111 fetch-depth : 0
112112
113+ - name : Setup fake git remote for testing
114+ uses : ./.github/workflows/test-helpers/setup-fake-remote
115+
113116 - name : Copy test fixture files (pip/uv)
114117 if : matrix.package-manager != 'pixi'
115118 run : |
@@ -140,9 +143,6 @@ jobs:
140143 echo "groups=groups: docs" >> $GITHUB_OUTPUT
141144 fi
142145
143- - name : Setup fake git remote for testing
144- uses : ./.github/workflows/test-helpers/setup-fake-remote
145-
146146 - name : Test MkDocs deploy for release
147147 uses : ./actions/mkdocs-deploy
148148 with :
@@ -181,16 +181,16 @@ jobs:
181181 with :
182182 fetch-depth : 0
183183
184+ - name : Setup fake git remote for testing
185+ uses : ./.github/workflows/test-helpers/setup-fake-remote
186+
184187 - name : Copy test fixture files
185188 run : |
186189 cp tests/data/mkdocs-deploy/test-custom-configuration/pyproject.toml .
187190 cp tests/data/mkdocs-deploy/test-custom-configuration/mkdocs.yml .
188191 cp tests/data/mkdocs-deploy/test-custom-configuration/uv.lock .
189192 cp -r tests/data/mkdocs-deploy/test-custom-configuration/docs .
190193
191- - name : Setup fake git remote for testing
192- uses : ./.github/workflows/test-helpers/setup-fake-remote
193-
194194 - name : Test with custom configuration
195195 uses : ./actions/mkdocs-deploy
196196 with :
@@ -266,6 +266,9 @@ jobs:
266266 with :
267267 fetch-depth : 0
268268
269+ - name : Setup fake git remote for testing
270+ uses : ./.github/workflows/test-helpers/setup-fake-remote
271+
269272 - name : Copy test fixture files
270273 run : |
271274 cp tests/data/mkdocs-deploy/test-git-configuration/pyproject.toml .
@@ -277,9 +280,6 @@ jobs:
277280 git config --global --unset user.name || true
278281 git config --global --unset user.email || true
279282
280- - name : Setup fake git remote for testing
281- uses : ./.github/workflows/test-helpers/setup-fake-remote
282-
283283 - name : Test git configuration
284284 uses : ./actions/mkdocs-deploy
285285 with :
@@ -300,6 +300,9 @@ jobs:
300300 with :
301301 fetch-depth : 0
302302
303+ - name : Setup fake git remote for testing
304+ uses : ./.github/workflows/test-helpers/setup-fake-remote
305+
303306 - name : Copy test fixture files
304307 run : |
305308 cp tests/data/mkdocs-deploy/test-package-manager-commands/pyproject.toml .
@@ -314,9 +317,6 @@ jobs:
314317 cp tests/data/mkdocs-deploy/test-package-manager-commands/pixi.lock .
315318 fi
316319
317- - name : Setup fake git remote for testing
318- uses : ./.github/workflows/test-helpers/setup-fake-remote
319-
320320 - name : Test pip command execution
321321 uses : ./actions/mkdocs-deploy
322322 with :
@@ -348,16 +348,16 @@ jobs:
348348 with :
349349 fetch-depth : 0
350350
351+ - name : Setup fake git remote for testing
352+ uses : ./.github/workflows/test-helpers/setup-fake-remote
353+
351354 - name : Copy test fixture files
352355 run : |
353356 cp tests/data/mkdocs-deploy/test-release-tag-resolution/pyproject.toml .
354357 cp tests/data/mkdocs-deploy/test-release-tag-resolution/mkdocs.yml .
355358 cp tests/data/mkdocs-deploy/test-release-tag-resolution/uv.lock .
356359 cp -r tests/data/mkdocs-deploy/test-release-tag-resolution/docs .
357360
358- - name : Setup fake git remote for testing
359- uses : ./.github/workflows/test-helpers/setup-fake-remote
360-
361361 - name : Test with explicit release tag
362362 uses : ./actions/mkdocs-deploy
363363 with :
@@ -386,6 +386,9 @@ jobs:
386386 with :
387387 fetch-depth : 0
388388
389+ - name : Setup fake git remote for testing
390+ uses : ./.github/workflows/test-helpers/setup-fake-remote
391+
389392 - name : Copy test fixture files (pip/uv)
390393 if : matrix.package-manager != 'pixi'
391394 run : |
@@ -413,9 +416,6 @@ jobs:
413416 echo "groups=groups: docs" >> $GITHUB_OUTPUT
414417 fi
415418
416- - name : Setup fake git remote for testing
417- uses : ./.github/workflows/test-helpers/setup-fake-remote
418-
419419 - name : Test with default install-groups (groups docs)
420420 uses : ./actions/mkdocs-deploy
421421 with :
@@ -440,6 +440,9 @@ jobs:
440440 with :
441441 fetch-depth : 0
442442
443+ - name : Setup fake git remote for testing
444+ uses : ./.github/workflows/test-helpers/setup-fake-remote
445+
443446 - name : Copy test fixture files
444447 run : |
445448 cp tests/data/mkdocs-deploy/test-pull-request-pixi/pyproject.toml .
@@ -449,9 +452,6 @@ jobs:
449452 cp tests/data/mkdocs-deploy/test-pull-request-pixi/pixi.lock .
450453 fi
451454
452- - name : Setup fake git remote for testing
453- uses : ./.github/workflows/test-helpers/setup-fake-remote
454-
455455 - name : Test pixi with environment "${{ matrix.install-groups }}"
456456 uses : ./actions/mkdocs-deploy
457457 with :
@@ -476,16 +476,16 @@ jobs:
476476 with :
477477 fetch-depth : 0
478478
479+ - name : Setup fake git remote for testing
480+ uses : ./.github/workflows/test-helpers/setup-fake-remote
481+
479482 - name : Copy test fixture files
480483 run : |
481484 cp tests/data/mkdocs-deploy/test-custom-configuration/pyproject.toml .
482485 cp tests/data/mkdocs-deploy/test-custom-configuration/mkdocs.yml .
483486 cp tests/data/mkdocs-deploy/test-custom-configuration/uv.lock .
484487 cp -r tests/data/mkdocs-deploy/test-custom-configuration/docs .
485488
486- - name : Setup fake git remote for testing
487- uses : ./.github/workflows/test-helpers/setup-fake-remote
488-
489489 - name : Test install-groups format "${{ matrix.install-groups }}"
490490 uses : ./actions/mkdocs-deploy
491491 with :
@@ -525,16 +525,16 @@ jobs:
525525 with :
526526 fetch-depth : 0
527527
528+ - name : Setup fake git remote for testing
529+ uses : ./.github/workflows/test-helpers/setup-fake-remote
530+
528531 - name : Copy test fixture files
529532 run : |
530533 cp tests/data/mkdocs-deploy/test-custom-configuration/pyproject.toml .
531534 cp tests/data/mkdocs-deploy/test-custom-configuration/mkdocs.yml .
532535 cp tests/data/mkdocs-deploy/test-custom-configuration/uv.lock .
533536 cp -r tests/data/mkdocs-deploy/test-custom-configuration/docs .
534537
535- - name : Setup fake git remote for testing
536- uses : ./.github/workflows/test-helpers/setup-fake-remote
537-
538538 - name : Test install-groups format "${{ matrix.install-groups }}"
539539 uses : ./actions/mkdocs-deploy
540540 with :
0 commit comments