Sha256: 9054931ddbfd8c745053dfd46131f1dee46c35fbd59c48f6f5ffce3b34b05d4c

Contents?: true

Size: 1.21 KB

Versions: 8

Compression:

Stored size: 1.21 KB

Contents

name: Test
on:
  push:
    branches: [main]
  workflow_dispatch:
    inputs:
      branch:
        required: false
        type: string
        default: master
jobs:
  test:
    name: Test
    strategy:
      matrix:
        os: [ubuntu-latest]
        ruby: ['2.6', '2.7', '3.0']
    runs-on: ${{ matrix.os }}
    steps:
      - uses: actions-ecosystem/action-regex-match@v2
        id: regex-match
        if: ${{ github.event_name == 'workflow_dispatch' }}
        with:
          text: ${{ github.event.inputs.branch }}
          regex: '^[a-zA-Z0-9_/\-]+$'
      - name: Break on invalid branch name
        run: exit 1
        if: ${{ github.event_name == 'workflow_dispatch' && steps.regex-match.outputs && steps.regex-match.outputs.match == '' }}
      - uses: actions/checkout@v2
      - uses: ruby/setup-ruby@v1
        with:
          ruby-version: ${{matrix.ruby}}
          bundler-cache: true
      - uses: actions/cache@v2
        with:
          path: "./vendor/bundle"
          key: v1/${{ runner.os }}/ruby-${{ matrix.ruby }}/${{ hashFiles('**/Gemfile.lock') }}
          restore-keys: v1/${{ runner.os }}/ruby-${{ matrix.ruby }}/
      - run: bundle install
      - run: for file in specs/*.rb; do ruby $file; done

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
percy-appium-app-0.0.5 .github/workflows/test.yml
percy-appium-app-0.0.5.pre.beta.1 .github/workflows/test.yml
percy-appium-app-0.0.5.pre.beta.0 .github/workflows/test.yml
percy-appium-app-0.0.4 .github/workflows/test.yml
percy-appium-app-0.0.2.pre.beta.0 .github/workflows/test.yml
percy-appium-app-0.0.3 .github/workflows/test.yml
percy-appium-app-0.0.2 .github/workflows/test.yml
percy-appium-app-0.0.1 .github/workflows/test.yml