From 79097f9b07813f1308aa03ba8fc8caf83f8c0e51 Mon Sep 17 00:00:00 2001 From: "Travis F. Collins" Date: Mon, 30 Sep 2024 19:50:59 -0600 Subject: [PATCH] Enable emulation testing with pytest-xdist support Signed-off-by: Travis F. Collins --- .github/workflows/test.yml | 4 ++-- requirements_dev.txt | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index c8eacabe9..95ee4ed8a 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -51,7 +51,7 @@ jobs: - name: Test run: | - pytest -vs --cov=adi --scan-verbose --emu --junitxml="results.xml" -k 'not prod' + pytest -vs --cov=adi --scan-verbose --emu --junitxml="results.xml" -k 'not prod' -n auto - name: Report coverage if: (github.event_name != 'pull_request') && (matrix.python-version == 3.6) @@ -68,7 +68,7 @@ jobs: - name: Test without optional dependencies run: | pip uninstall -y paramiko - pytest -vs --scan-verbose --emu --junitxml="results.xml" -k 'not prod' + pytest -vs --scan-verbose --emu --junitxml="results.xml" -k 'not prod' -n auto Lint: diff --git a/requirements_dev.txt b/requirements_dev.txt index 3e4cb7237..b4c640596 100644 --- a/requirements_dev.txt +++ b/requirements_dev.txt @@ -8,7 +8,7 @@ scapy scipy<=1.12.0 pytest-cov coveralls -pytest-libiio>=0.0.20 +pytest-libiio>=0.0.21 bump2version pytest-html==3.2.0 plotly-express