Skip to content

Commit

Permalink
Try auto-servernum again
Browse files Browse the repository at this point in the history
  • Loading branch information
n8henrie committed Jan 5, 2024
1 parent 5d3c4c5 commit 3782b8d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 3782b8d

Please sign in to comment.