Sha256: a837b300344b7a67411704a36ba847c61beb323744ae54039286611f725b5e0e

Contents?: true

Size: 1.13 KB

Versions: 2

Compression:

Stored size: 1.13 KB

Contents

name: Unit Tests

on:
  - push
  - pull_request

jobs:
  documentation-test:
    name: Yard Doctest
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      - uses: ruby/setup-ruby@v1
        with:
          ruby-version: 2.6
      - run: bundle install
      - uses: ./.github/actions/install-chrome
      - uses: ./.github/actions/setup-linux
      - run: |
          bundle exec rake yard:doctest


  unit-test:
    name: Unit Tests
    runs-on: ubuntu-latest
    strategy:
      fail-fast: false
      matrix:
        ruby: ['2.6', '2.7', '3.0']
    steps:
      - uses: actions/checkout@v2
      - uses: ruby/setup-ruby@v1
        with:
          ruby-version: ${{ matrix.ruby }}
      - run: bundle install
      - uses: ./.github/actions/install-chrome
      - uses: ./.github/actions/setup-linux
      - run: |
          bundle exec rake spec:unit
        env:
          DISPLAY: :99

  linter-test:
    name: Rubocop Tests
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      - uses: ruby/setup-ruby@v1
        with:
          ruby-version: 2.6
      - run: bundle install
      - run: bundle exec rubocop

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
watir-7.1.0 .github/workflows/unit.yml
watir-7.0.0 .github/workflows/unit.yml