File: ci.yml

package info (click to toggle)
ruby-sprockets 4.2.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,960 kB
  • sloc: ruby: 13,012; javascript: 157; makefile: 4
file content (36 lines) | stat: -rw-r--r-- 906 bytes parent folder | download
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
name: CI
on: [push, pull_request]
jobs:
  tests:
    runs-on: ubuntu-latest
    continue-on-error: ${{ matrix.experimental }}
    name: ${{ matrix.ruby }}
    strategy:
      matrix:
        experimental: [false]
        ruby:
          - "2.5"
          - "2.6"
          - "2.7"
          - "3.0"
          - "3.1"
          - "3.2"
          - "3.3"
        include:
          - { ruby: jruby, experimental: true }
          - { ruby: jruby-head, experimental: true }
          - { ruby: truffleruby, experimental: true }
          - { ruby: truffleruby-head, experimental: true }
          - { ruby: head, experimental: true }

    steps:
      - uses: actions/checkout@v3
      - name: Set up Ruby
        uses: ruby/setup-ruby@v1
        with:
          ruby-version: ${{ matrix.ruby }}
          bundler-cache: true

      - name: Run tests
        timeout-minutes: 10
        run: bundle exec rake