Skip to content

Commit 41dcd23

Browse files
committed
Update
1 parent 0ff855b commit 41dcd23

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.github/workflows/python-package.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
run: |
2929
python -m pip install --upgrade pip
3030
python -m pip install numpy sympy scipy matplotlib deap pmlb scikit-learn requests pandas
31-
python -m pip install flake8 pytest
31+
python -m pip install flake8 pytest pytest-xdist
3232
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
3333
- name: Lint with flake8
3434
run: |
@@ -38,4 +38,4 @@ jobs:
3838
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
3939
- name: Test with pytest
4040
run: |
41-
pytest -v
41+
pytest -v -n auto

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,6 @@ To use multiprocess functionalities, functions must be pickable and ```freeze_su
2323
It is possible to export results to CSV file with ```csv_filename```.
2424

2525
For more information, see existing tests.
26+
```pytest -v```
27+
If pytest-xdist is installed:
28+
```pytest -v -n auto```

0 commit comments

Comments
 (0)