Skip to content

Migrate tests from TravisCI to GitHub Actions #2

Migrate tests from TravisCI to GitHub Actions

Migrate tests from TravisCI to GitHub Actions #2

Workflow file for this run

name: Run tests

Check failure on line 1 in .github/workflows/tests.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/tests.yml

Invalid workflow file

No steps defined in `steps` and no workflow called in `uses` for the following jobs: build
on: [push]
jobs:
build:
strategy:
matrix:
ruby:
- 3.2.2
- 3.1.4
- 3.0.6
- 2.7.8
- 2.6.10
run-tests:
runs-on: ubuntu-latest
env:
- CI: true
- BUNDLE_GEMFILE: ${{ github.workspace }}/graphql-latest.gemfile
steps:
- name: Checkout a commit
uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.version }}
bundler-cache: true
- name: Run tests
run: bundle exec rspec