chore(ci): split check between windows and linux

This commit is contained in:
Matthias
2025-09-27 17:23:16 +02:00
parent f454006ec3
commit 4e089fd17e

View File

@@ -96,7 +96,7 @@ jobs:
- name: Check for repository changes - name: Check for repository changes
# TODO: python 3.13 slightly changed the output of argparse. # TODO: python 3.13 slightly changed the output of argparse.
if: (matrix.python-version != '3.13') if: ${{ (matrix.python-version != '3.13') && (runner.os != 'Windows') }}
run: | run: |
if [ -n "$(git status --porcelain)" ]; then if [ -n "$(git status --porcelain)" ]; then
echo "Repository is dirty, changes detected:" echo "Repository is dirty, changes detected:"
@@ -107,6 +107,19 @@ jobs:
echo "Repository is clean, no changes detected." echo "Repository is clean, no changes detected."
fi fi
- name: Check for repository changes
if: ${{ runner.os == 'Windows' && (matrix.python-version != '3.13') }}
run: |
if (git status --porcelain) {
Write-Host "Repository is dirty, changes detected:"
git status
git diff
exit 1
}
else {
Write-Host "Repository is clean, no changes detected."
}
- name: Backtesting (multi) - name: Backtesting (multi)
run: | run: |
freqtrade create-userdir --userdir user_data freqtrade create-userdir --userdir user_data