File tree Expand file tree Collapse file tree 1 file changed +14
-1
lines changed
Expand file tree Collapse file tree 1 file changed +14
-1
lines changed Original file line number Diff line number Diff line change 9696
9797 - name : Check for repository changes
9898 # TODO: python 3.13 slightly changed the output of argparse.
99- if : (matrix.python-version != '3.13')
99+ if : ${{ (matrix.python-version != '3.13') && (runner.os != 'Windows') }}
100100 run : |
101101 if [ -n "$(git status --porcelain)" ]; then
102102 echo "Repository is dirty, changes detected:"
@@ -107,6 +107,19 @@ jobs:
107107 echo "Repository is clean, no changes detected."
108108 fi
109109
110+ - name : Check for repository changes
111+ if : ${{ runner.os == 'Windows' && (matrix.python-version != '3.13') }}
112+ run : |
113+ if (git status --porcelain) {
114+ Write-Host "Repository is dirty, changes detected:"
115+ git status
116+ git diff
117+ exit 1
118+ }
119+ else {
120+ Write-Host "Repository is clean, no changes detected."
121+ }
122+
110123 - name : Backtesting (multi)
111124 run : |
112125 freqtrade create-userdir --userdir user_data
You can’t perform that action at this time.
0 commit comments