Skip to content

rename option.svelte to optionsdisplay to avoid windows errors #988

rename option.svelte to optionsdisplay to avoid windows errors

rename option.svelte to optionsdisplay to avoid windows errors #988

Workflow file for this run

name: E2E Tests
on:
push:
branches:
- '**'
tags-ignore:
- '*.*'
jobs:
e2e-test:
runs-on: ubuntu-latest
env:
DISPLAY: ":0"
steps:
- uses: actions/checkout@v2
with:
submodules: 'recursive'
- name: Set up Python 3.8
uses: actions/setup-python@v2
with:
python-version: 3.8
- name: Set up Virtual Display for Chrome
run: |
sudo apt update -y
sudo apt install -y xvfb libxkbcommon-x11-0 libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-randr0 libxcb-render-util0 libxcb-xinerama0 libxcb-xinput0 libxcb-xfixes0
sudo /usr/bin/Xvfb $DISPLAY -screen 0 1280x1024x24 &
- name: Install Dependencies
run: |
python3 -m pip install 'py==1.11.0' 'autoparaselenium>=0.3.1' 'selenium==4.9.1'
python3 -m pip freeze
- uses: c-hive/gha-yarn-cache@v1
- name: Install modules
run: |
yarn
- name: Build extension
run: yarn e2e:build
- name: Run tests
uses: nick-invision/retry@v2
with:
max_attempts: 3
retry_on: any
timeout_minutes: 10
command: |
DISCORD_REPORT_HOOK=${{ secrets.DISCORD_WEBHOOK }} pytest --tests-per-worker 1 e2e