File: ci.yml

package info (click to toggle)
dnsruby 1.73.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,548 kB
  • sloc: ruby: 17,966; makefile: 3
file content (26 lines) | stat: -rw-r--r-- 676 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
name: CI

on: [push, pull_request]

jobs:
  build:
    runs-on: ubuntu-latest
    strategy:
      fail-fast: false
      matrix:
        ruby: [ '3.2', '3.3', '3.4' ] # , 'ruby-head' ]
        rubyopt: ['']
        include:
          - ruby: '3.4'
            rubyopt: "--enable-frozen-string-literal --debug-frozen-string-literal"

    name: Ruby ${{ matrix.ruby }} tests
    steps:
      - uses: actions/checkout@v2
      - name: Setup Ruby
        uses: ruby/setup-ruby@v1
        with:
          ruby-version: ${{ matrix.ruby }}
          bundler-cache: true
      - name: Run tests ${{ matrix.rubyopt }}
        run: bundle exec rake test RUBYOPT="${{ matrix.rubyopt }}"