github.com/phrase/openapi@v0.0.0-20240514140800-49e8a106740e/.github/workflows/test-ruby.yml (about)

     1  name: Run Ruby Tests
     2  on: [push]
     3  jobs:
     4    rspec:
     5      runs-on: ubuntu-latest
     6      steps:
     7        - uses: actions/checkout@v3
     8        - name: Build
     9          run: |
    10            npm install
    11            npm run generate.ruby
    12        - name: Set up Ruby
    13          uses: ruby/setup-ruby@v1
    14          with:
    15            ruby-version: 3.2.1
    16            # runs 'bundle install' and caches installed gems automatically
    17            bundler-cache: true
    18            working-directory: ./clients/ruby
    19        - name: Run tests
    20          run: |
    21            cd ./clients/ruby
    22            bundle exec rspec