mirror of
https://github.com/freqtrade/freqtrade.git
synced 2025-12-14 11:51:19 +00:00
chore(ci): parallel tests
This commit is contained in:
6
.github/workflows/ci.yml
vendored
6
.github/workflows/ci.yml
vendored
@@ -67,7 +67,7 @@ jobs:
|
|||||||
- name: Tests
|
- name: Tests
|
||||||
if: (!(runner.os == 'Linux' && matrix.python-version == '3.12' && matrix.os == 'ubuntu-24.04'))
|
if: (!(runner.os == 'Linux' && matrix.python-version == '3.12' && matrix.os == 'ubuntu-24.04'))
|
||||||
run: |
|
run: |
|
||||||
pytest --random-order --durations 20
|
pytest --random-order --durations 20 -n auto
|
||||||
|
|
||||||
- name: Tests with Coveralls
|
- name: Tests with Coveralls
|
||||||
if: (runner.os == 'Linux' && matrix.python-version == '3.12' && matrix.os == 'ubuntu-24.04')
|
if: (runner.os == 'Linux' && matrix.python-version == '3.12' && matrix.os == 'ubuntu-24.04')
|
||||||
@@ -94,7 +94,7 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
python build_helpers/create_command_partials.py
|
python build_helpers/create_command_partials.py
|
||||||
|
|
||||||
- name: Check for repository changes
|
- name: Check for repository changes - *nix
|
||||||
# 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') && (runner.os != 'Windows') }}
|
if: ${{ (matrix.python-version != '3.13') && (runner.os != 'Windows') }}
|
||||||
run: |
|
run: |
|
||||||
@@ -107,7 +107,7 @@ jobs:
|
|||||||
echo "Repository is clean, no changes detected."
|
echo "Repository is clean, no changes detected."
|
||||||
fi
|
fi
|
||||||
|
|
||||||
- name: Check for repository changes
|
- name: Check for repository changes - Windows
|
||||||
if: ${{ runner.os == 'Windows' && (matrix.python-version != '3.13') }}
|
if: ${{ runner.os == 'Windows' && (matrix.python-version != '3.13') }}
|
||||||
run: |
|
run: |
|
||||||
if (git status --porcelain) {
|
if (git status --porcelain) {
|
||||||
|
|||||||
Reference in New Issue
Block a user