Sha256: 5040d2d0420379c8dd840766120fbfd2f2a626cbb9dd639bd606205db87b4aa0

Contents?: true

Size: 1.07 KB

Versions: 4

Compression:

Stored size: 1.07 KB

Contents

# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
# This workflow will download a prebuilt Ruby version, install dependencies and run tests with rspec.
# For more information see: https://github.com/marketplace/actions/setup-ruby-jruby-and-truffleruby

name: RSpec

on:
  push:
    branches: [ master ]
  pull_request:
    branches: [ master ]

permissions:
  contents: read

jobs:
  test:

    runs-on: ubuntu-latest
    strategy:
      matrix:
        ruby-version: ['2.7', '3.0', '3.1']

    steps:
    - uses: actions/checkout@v3
    - name: Set up Ruby
      uses: ruby/setup-ruby@v1
      with:
        ruby-version: ${{ matrix.ruby-version }}
        bundler-cache: false
    - name: Set up Node
      uses: actions/setup-node@v3
    - name: Install dependencies
      run: bundle install
    - name: Run Ruby tests
      run: bundle exec rspec
    - name: Run Opal tests
      run: bundle exec rake opal

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
gamefic-3.2.1 .github/workflows/rspec.yml
gamefic-3.2.0 .github/workflows/rspec.yml
gamefic-3.1.0 .github/workflows/rspec.yml
gamefic-3.0.0 .github/workflows/rspec.yml