From 12f3ecd3ce563023afda247d409873e181d7c5b3 Mon Sep 17 00:00:00 2001 From: Asherah Connor Date: Thu, 27 Jun 2024 18:47:21 +0300 Subject: [PATCH] setup-action: install pytest-xdist, use in template. --- setup-action/action.yml | 2 +- template/.github/workflows/unit-tests.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/setup-action/action.yml b/setup-action/action.yml index da64597..a1c8a3c 100644 --- a/setup-action/action.yml +++ b/setup-action/action.yml @@ -30,7 +30,7 @@ runs: shell: bash - name: Install pytest - run: pip install pytest + run: pip install pytest pytest-xdist shell: bash - name: Install niar diff --git a/template/.github/workflows/unit-tests.yml b/template/.github/workflows/unit-tests.yml index f8c4300..8d1b75e 100644 --- a/template/.github/workflows/unit-tests.yml +++ b/template/.github/workflows/unit-tests.yml @@ -19,4 +19,4 @@ jobs: - uses: kivikakk/niar/setup-action@main - name: Run tests - run: pytest tests + run: pytest -n auto tests