Skip to content

Commit b45aef2

Browse files
authored
Run unit tests in parallel (#2222)
1 parent c8e4da9 commit b45aef2

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ init:
66
pip install -e '.[dev]'
77

88
test:
9-
pytest --cov samtranslator --cov-report term-missing --cov-fail-under 95 tests/*
9+
pytest --cov samtranslator --cov-report term-missing --cov-fail-under 95 -n auto tests/*
1010

1111
test-cov-report:
1212
pytest --cov samtranslator --cov-report term-missing --cov-report html --cov-fail-under 95 tests/*

requirements/dev.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ coverage~=5.3
22
flake8~=3.8.4
33
tox~=3.20.1
44
pytest-cov~=2.10.1
5+
pytest-xdist~=1.34.0 # pytest-xdist 2 is not compatible with Python 2.7
56
pylint>=1.7.2,<2.0
67
pyyaml~=5.4
78

0 commit comments

Comments
 (0)