Skip to content

Commit

Permalink
chore: add headful mode tests (#8265)
Browse files Browse the repository at this point in the history
  • Loading branch information
OrKoN committed Apr 22, 2022
1 parent 351d146 commit 60ec89a
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions .github/workflows/main.yml
Expand Up @@ -184,3 +184,41 @@ jobs:
max_attempts: 3
timeout_minutes: 10
command: npm run funit

linux-headful-checks:
# https://github.com/actions/virtual-environments#available-environments
runs-on: ubuntu-latest
strategy:
matrix:
node: [16]
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 2

- name: Set up Node.js
uses: actions/setup-node@v3.1.1
with:
node-version: ${{ matrix.node }}

- name: Install dependencies
run: |
sudo apt-get install xvfb
npm install
ls .local-chromium
- name: Build
run: |
npm run build
- name: Run unit tests in headful mode
uses: nick-invision/retry@v2
continue-on-error: true
env:
CHROMIUM: true
HEADLESS: false
with:
max_attempts: 1
command: xvfb-run --auto-servernum npm run unit
timeout_minutes: 10

0 comments on commit 60ec89a

Please sign in to comment.