Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 14 additions & 2 deletions template/.github/workflows/ci.yaml.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,13 @@ jobs:
timeout-minutes: {% endraw %}{{ gha_medium_timeout_minutes }}{% raw %}
env:
UV_PYTHON: ${{ matrix.python-version }}
steps:
steps:{% endraw %}{% if use_windows_in_ci %}
- name: Allow long file paths
if: runner.os == 'Windows'
# Some tooling (e.g. vcrpy, syrupy) generates file names past the 260 character limit Windows
# defaults to. This has to happen before the checkout that writes those files.
run: git config --global core.longpaths true
{% endif %}{% raw %}
- name: Checkout code
uses: actions/checkout@{% endraw %}{{ gha_checkout }}{% raw %}

Expand Down Expand Up @@ -170,7 +176,13 @@ jobs:
env:
UV_PYTHON: ${{ matrix.python-version }}

steps:
steps:{% endraw %}{% if use_windows_in_exe_ci %}
- name: Allow long file paths
if: runner.os == 'Windows'
# Some tooling (e.g. vcrpy, syrupy) generates file names past the 260 character limit Windows
# defaults to. This has to happen before the checkout that writes those files.
run: git config --global core.longpaths true
{% endif %}{% raw %}
- name: Checkout code
uses: actions/checkout@{% endraw %}{{ gha_checkout }}{% raw %}
- name: Install python tooling
Expand Down
16 changes: 14 additions & 2 deletions template/.github/workflows/release.yaml.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,13 @@ jobs:
env:
UV_PYTHON: ${{ matrix.python-version }}

steps:
steps:{% endraw %}{% if use_windows_in_ci %}
- name: Allow long file paths
if: runner.os == 'Windows'
# Some tooling (e.g. vcrpy, syrupy) generates file names past the 260 character limit Windows
# defaults to. This has to happen before the checkout that writes those files.
run: git config --global core.longpaths true
{% endif %}{% raw %}
- name: Checkout code
uses: actions/checkout@{% endraw %}{{ gha_checkout }}{% raw %}
- name: Setup python
Expand Down Expand Up @@ -313,7 +319,13 @@ jobs:
env:
UV_PYTHON: ${{ matrix.python-version }}

steps:
steps:{% endraw %}{% if use_windows_in_ci %}
- name: Allow long file paths
if: runner.os == 'Windows'
# Some tooling (e.g. vcrpy, syrupy) generates file names past the 260 character limit Windows
# defaults to. This has to happen before the checkout that writes those files.
run: git config --global core.longpaths true
{% endif %}{% raw %}
- name: Checkout code
uses: actions/checkout@{% endraw %}{{ gha_checkout }}{% raw %}
- name: Setup python
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,13 @@ jobs:
env:
UV_PYTHON: ${{ matrix.python-version }}

steps:
steps:{% endraw %}{% if use_windows_in_ci %}
- name: Allow long file paths
if: runner.os == 'Windows'
# Some tooling (e.g. vcrpy, syrupy) generates file names past the 260 character limit Windows
# defaults to. This has to happen before the checkout that writes those files.
run: git config --global core.longpaths true
{% endif %}{% raw %}
- name: Checkout code
uses: actions/checkout@{% endraw %}{{ gha_checkout }}{% raw %}

Expand Down Expand Up @@ -180,7 +186,13 @@ jobs:
env:
UV_PYTHON: ${{ matrix.python-version }}

steps:
steps:{% endraw %}{% if use_windows_in_ci %}
- name: Allow long file paths
if: runner.os == 'Windows'
# Some tooling (e.g. vcrpy, syrupy) generates file names past the 260 character limit Windows
# defaults to. This has to happen before the checkout that writes those files.
run: git config --global core.longpaths true
{% endif %}{% raw %}
- name: Checkout code
uses: actions/checkout@{% endraw %}{{ gha_checkout }}{% raw %}
- name: Setup python
Expand Down Expand Up @@ -326,7 +338,13 @@ jobs:
env:
UV_PYTHON: ${{ matrix.python-version }}

steps:
steps:{% endraw %}{% if use_windows_in_ci %}
- name: Allow long file paths
if: runner.os == 'Windows'
# Some tooling (e.g. vcrpy, syrupy) generates file names past the 260 character limit Windows
# defaults to. This has to happen before the checkout that writes those files.
run: git config --global core.longpaths true
{% endif %}{% raw %}
- name: Checkout code
uses: actions/checkout@{% endraw %}{{ gha_checkout }}{% raw %}
- name: Setup python
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,13 @@ jobs:
env:
UV_PYTHON: ${{ matrix.python-version }}

steps:
steps:{% endraw %}{% if use_windows_in_ci %}
- name: Allow long file paths
if: runner.os == 'Windows'
# Some tooling (e.g. vcrpy, syrupy) generates file names past the 260 character limit Windows
# defaults to. This has to happen before the checkout that writes those files.
run: git config --global core.longpaths true
{% endif %}{% raw %}
- name: Checkout code
uses: actions/checkout@{% endraw %}{{ gha_checkout }}{% raw %}

Expand Down