File: stable.yml

package info (click to toggle)
ruby-simplecov 0.22.0-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,512 kB
  • sloc: ruby: 5,550; makefile: 10
file content (41 lines) | stat: -rw-r--r-- 945 bytes parent folder | download | duplicates (4)
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
name: stable

on: [push, pull_request]

jobs:
  test:
    runs-on: ubuntu-latest

    strategy:
      matrix:
        ruby: [2.7, '3.0', 3.1, ruby-head, jruby-9.3]

    env:
      BUNDLE_WITHOUT: "benchmark"
      JRUBY_OPTS: "--debug"

    steps:
      - uses: actions/checkout@v2

      - name: Get sqlite for Rails test projects
        run: sudo apt-get install libsqlite3-dev

      - name: Setup ruby
        uses: ruby/setup-ruby@v1
        with:
          ruby-version: ${{ matrix.ruby }}
          bundler-cache: true # 'bundle install' and cache

      - name: Get the newest rubygems version to rid ourselves of warnings
        run: gem update --system --no-document

      - name: Install bundler
        run: gem i bundler --no-document

      - name: Install dependencies
        run: |
          bundle config set --local without benchmark
          bundle install --jobs=3

      - name: Run tests
        run: bundle exec rake