From d166b89ece5563be69e486552224abce4c69c918 Mon Sep 17 00:00:00 2001 From: Darren Burns Date: Thu, 25 Jul 2024 10:26:27 +0100 Subject: [PATCH] Dont use xdist on CI --- .github/workflows/pythonpackage.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pythonpackage.yml b/.github/workflows/pythonpackage.yml index fb5242da4f..281bc03db0 100644 --- a/.github/workflows/pythonpackage.yml +++ b/.github/workflows/pythonpackage.yml @@ -52,11 +52,11 @@ jobs: if: ${{ matrix.python-version == '3.12' }} - name: Test with pytest (xdist) run: | - poetry run pytest tests -v --cov=./src/textual --cov-report=xml:./coverage.xml --cov-report term-missing -n 16 --dist=loadgroup + poetry run pytest tests -v --cov=./src/textual --cov-report=xml:./coverage.xml --cov-report term-missing if: ${{ matrix.python-version != '3.12' }} - name: Test with pytest for 3.12 # https://github.com/Textualize/textual/issues/3491#issuecomment-1854156476 run: | - poetry run pytest tests -v --cov=./src/textual --cov-report=xml:./coverage.xml --cov-report term-missing -m 'not syntax' -n 16 --dist=loadgroup + poetry run pytest tests -v --cov=./src/textual --cov-report=xml:./coverage.xml --cov-report term-missing -m 'not syntax' if: ${{ matrix.python-version == '3.12' }} - name: Upload snapshot report if: always()