From 3782b8dd4186c5b80dd4c0530fab0f3f062dc772 Mon Sep 17 00:00:00 2001 From: Nathan Henrie Date: Fri, 5 Jan 2024 13:31:36 -0700 Subject: [PATCH] Try auto-servernum again --- .github/workflows/python-package.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index 96a83a4..7a0fa28 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -39,12 +39,12 @@ jobs: sudo apt-get update sudo apt-get install --yes brave-browser - name: Run tests via tox (Chromium) - run: xvfb-run -- python -m tox -e py --override testenv.pass_env+=XAUTHORITY,DISPLAY,TEST_BROWSER_NAME,TEST_BROWSER_PATH + run: xvfb-run --auto-servernum -- python -m tox -e py --override testenv.pass_env+=XAUTHORITY,DISPLAY,TEST_BROWSER_NAME,TEST_BROWSER_PATH - name: Run tests via tox (Brave) env: TEST_BROWSER_NAME: Brave TEST_BROWSER_PATH: /usr/bin/brave-browser - run: xvfb-run -- python -m tox -e py --override testenv.pass_env+=XAUTHORITY,DISPLAY,TEST_BROWSER_NAME,TEST_BROWSER_PATH + run: xvfb-run --auto-servernum -- python -m tox -e py --override testenv.pass_env+=XAUTHORITY,DISPLAY,TEST_BROWSER_NAME,TEST_BROWSER_PATH - if: "matrix.python-version == '3.12'" name: Lint run: python -m tox -e lint