File: tests.yml

package info (click to toggle)
ruby-batch-loader 2.0.6%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 316 kB
  • sloc: ruby: 788; makefile: 10; sh: 4
file content (27 lines) | stat: -rw-r--r-- 589 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
name: Run tests
on:
  - push
jobs:
  run-tests:
    strategy:
      fail-fast: false
      matrix:
        version:
          - 3.2.2
          - 3.1.4
          - 3.0.6
          - 2.7.8
    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