Skip to content

GabrielBB/xvfb-action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

86d97bd Β· Nov 12, 2021

History

88 Commits
Nov 12, 2021
Apr 18, 2021
Jan 31, 2020
Jan 31, 2020
Apr 18, 2021
Jan 2, 2021
Jan 31, 2020
Nov 11, 2021
Apr 18, 2021
Apr 18, 2021

Repository files navigation

❌πŸ–₯️ XVFB Github Action

This action installs XVFB and runs your headless tests with it. It cleans up the xvfb process after your tests are done. If it detects you're not using linux then your tests still run, but without xvfb, which is very practical for multi-platform workflows.

Example usage

on: [push]

jobs:
  build:
    strategy:
      matrix:
        os: [macos-latest, ubuntu-latest, windows-latest]
    runs-on: ${{ matrix.os }}
    steps:
      - name: Checkout
        uses: actions/checkout@v2
      - name: Run headless test
        uses: GabrielBB/xvfb-action@v1
        with:
          run: npm test
          working-directory: ./ #optional
          options: #optional