mirror of
https://github.com/freqtrade/freqtrade.git
synced 2025-12-14 03:41:14 +00:00
chore(ci): split check between windows and linux
This commit is contained in:
15
.github/workflows/ci.yml
vendored
15
.github/workflows/ci.yml
vendored
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user