From 2ba30d70d8ab164cd9f7d26d1fddee091ec73007 Mon Sep 17 00:00:00 2001 From: Florin Barbu Date: Wed, 15 Jan 2025 17:47:25 +0200 Subject: [PATCH] test_: run tests in parallel --- .github/workflows/test-reliability.yml | 2 +- tests-functional/requirements.txt | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test-reliability.yml b/.github/workflows/test-reliability.yml index a790bdfadd..916d02b57b 100644 --- a/.github/workflows/test-reliability.yml +++ b/.github/workflows/test-reliability.yml @@ -34,7 +34,7 @@ jobs: run: cd tests-functional; docker compose -f docker-compose.anvil.yml -f docker-compose.test.status-go.yml -f docker-compose.status-go.local.yml up --build --remove-orphans -d - name: Run tests - run: pytest -m "reliability" -c tests-functional/pytest.ini --alluredir=allure-results + run: pytest -n 4 -m "reliability" -c tests-functional/pytest.ini --alluredir=allure-results - name: Get allure history if: always() diff --git a/tests-functional/requirements.txt b/tests-functional/requirements.txt index e728bf8784..fe83ec39ec 100644 --- a/tests-functional/requirements.txt +++ b/tests-functional/requirements.txt @@ -11,4 +11,5 @@ pyright==1.1.388 black==24.10.0 pre-commit==3.6.2 allure-pytest==2.13.5 -allure-python-commons==2.13.5 \ No newline at end of file +allure-python-commons==2.13.5 +pytest-xdist==3.6.1