Skip to content

Commit

Permalink
Tries something more robust
Browse files Browse the repository at this point in the history
  • Loading branch information
Daverball committed Oct 1, 2024
1 parent b5bc92d commit 122099f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .github/workflows/measure-and-store-test-durations.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,8 @@ jobs:
# add unprivileged test user
adduser --disabled-password --gecos "" test
redis-server --daemonize yes
mkdir /tmp/chrome
chown test /tmp/chrome
- name: Measure test durations
run: |
Expand All @@ -91,6 +93,7 @@ jobs:
LANG: C.UTF-8
JAVA_HOME: /usr/lib/jvm/java-8-openjdk-amd64
SKIP_DRIVER_MANAGER: '1'
CHROME_USER_DATA_DIR: /tmp/chrome

- uses: EndBug/add-and-commit@v9
with:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,8 @@ jobs:
# add unprivileged test user
adduser --disabled-password --gecos "" test
redis-server --daemonize yes
mkdir /tmp/chrome
chown test /tmp/chrome
- name: Run tests
run: |
Expand All @@ -205,3 +207,4 @@ jobs:
LANG: C.UTF-8
JAVA_HOME: /usr/lib/jvm/java-8-openjdk-amd64
SKIP_DRIVER_MANAGER: '1'
CHROME_USER_DATA_DIR: /tmp/chrome
1 change: 0 additions & 1 deletion tests/shared/fixtures.py
Original file line number Diff line number Diff line change
Expand Up @@ -441,7 +441,6 @@ def webdriver():
def webdriver_options():
options = Options()
options.add_argument('--no-sandbox')
options.add_argument('--user-data-dir=/tmp/browsertest')

if os.environ.get('SHOW_BROWSER') != '1':
options.add_argument('--headless')
Expand Down

0 comments on commit 122099f

Please sign in to comment.