Skip to content

Commit 8e51262

Browse files
committed
update ci
1 parent 528b4d8 commit 8e51262

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/CI.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@ jobs:
3939
python -m pip install --upgrade pip
4040
pip install coverage
4141
pip install pytest pytest-cov
42+
pip install -e .[test]
43+
pip install pytest-xdist
4244
pip install -r requirements.txt
4345
4446
- name: Run tests
@@ -49,7 +51,7 @@ jobs:
4951
export MASTER_ADDR=localhost
5052
export MASTER_PORT=12345
5153
export PYTHONPATH=MCintegration
52-
pytest --cov --junitxml=junit.xml -o junit_family=legacy --ignore=examples
54+
pytest -n auto --cov --cov-report=xml --ignore=examples
5355
5456
- name: Upload coverage to Codecov
5557
uses: codecov/codecov-action@v4

0 commit comments

Comments
 (0)