Sha256: d747812aa805bf8f1e76f19948d317f5d532179005be27100e22cfdefc611da9

Contents?: true

Size: 1.4 KB

Versions: 2

Compression:

Stored size: 1.4 KB

Contents

name: Firefox Tests

on:
  - workflow_dispatch
  - push
  - pull_request

jobs:
  local-tests:
    name: Local Tests
    runs-on: ${{ matrix.os }}
    strategy:
      fail-fast: false
      matrix:
        os: [ubuntu-latest, macos-latest, windows-latest]
        ruby: [ 2.7, 3.2 ]
    steps:
      - name: Checkout source tree
        uses: actions/checkout@v2
      - name: Setup Fluxbox
        if: matrix.os == 'ubuntu-latest'
        run: sudo apt-get -y install fluxbox
      - name: Start XVFB
        if: matrix.os == 'ubuntu-latest'
        run: Xvfb :99 -screen 0 1920x1280x24 > /dev/null 2>&1 &
      - name: Start Fluxbox
        if: matrix.os == 'ubuntu-latest'
        run: fluxbox -display :99 &
      - name: Set Windows resolution
        if: matrix.os == 'windows-latest'
        run: Set-DisplayResolution -Width 1920 -Height 1080 -Force
      - name: Set Mac resolution
        if: ${{ matrix.os == 'macos-latest' }}
        run: |
          system_profiler SPDisplaysDataType | grep Resolution
          "/Library/Application Support/VMware Tools/vmware-resolutionSet" 2560 1440
          system_profiler SPDisplaysDataType | grep Resolution
      - name: Install Ruby
        uses: ruby/setup-ruby@v1
        with:
          ruby-version: ${{ matrix.ruby }}
      - name: Install gems
        run: bundle install
      - name: Run tests
        run: bundle exec rake spec:chrome
        env:
          DISPLAY: :99

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
watir-7.2.2 .github/workflows/firefox.yml
watir-7.2.1 .github/workflows/firefox.yml