diff --git a/.github/workflows/benchmark.yml b/.github/workflows/benchmark.yml index e23131f9c..90786580e 100644 --- a/.github/workflows/benchmark.yml +++ b/.github/workflows/benchmark.yml @@ -48,7 +48,7 @@ jobs: run: | python -m pip install maturin rustup target add x86_64-unknown-linux-musl - python -m pip install pytest + python -m pip install pytest pytest-xdist python -m pip install mypy python -m pip install black diff --git a/.github/workflows/build-test.yml b/.github/workflows/build-test.yml index bf63f9068..809c52777 100644 --- a/.github/workflows/build-test.yml +++ b/.github/workflows/build-test.yml @@ -383,7 +383,7 @@ jobs: source venv/bin/activate git clone https://github.com/Chia-Network/clvm_tools.git --branch=main --single-branch pip install ./clvm_tools - pip install colorama maturin pytest chia-blockchain==2.1.2 clvm==0.9.8 + pip install colorama maturin pytest pytest-xdist chia-blockchain==2.1.2 clvm==0.9.8 maturin develop --release -m wheel/Cargo.toml pytest tests grcov . --binary-path target -s . --branch --ignore-not-existing --ignore='*/.cargo/*' --ignore='tests/*' --ignore='venv/*' -o rust_cov.info diff --git a/pytest.ini b/pytest.ini new file mode 100644 index 000000000..9a6e7521e --- /dev/null +++ b/pytest.ini @@ -0,0 +1,2 @@ +[pytest] +addopts = --verbose --tb=short -n auto