Sha256: 3e41606f0ded802f0a2e185277594032dde7d2c95bbf1b3972a54f0f9cbfdccf
Contents?: true
Size: 1.69 KB
Versions: 1
Compression:
Stored size: 1.69 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: [ 3.0, 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: Remove driver directories Windows if: matrix.os == 'windows-latest' run: | rm "$env:GeckoWebDriver" -r -v - name: Remove driver directories Non-Windows if: matrix.os != 'windows-latest' run: | sudo rm -rf $GECKOWEBDRIVER - name: Run tests run: bundle exec rake spec:firefox env: DISPLAY: :99
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
watir-7.3.0 | .github/workflows/firefox.yml |