Skip to content
This repository has been archived by the owner on Sep 10, 2024. It is now read-only.

Test with ruby 3.1 and 3.0 #109

Merged
merged 1 commit into from
Feb 13, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
---
name: CI

on:
push:
pull_request:
schedule:
- cron: '0 0 * * 0'

- cron: 0 0 * * 0
jobs:
ci:
runs-on: ubuntu-latest
Expand All @@ -16,19 +15,20 @@ jobs:
- '2.6'
- '2.7'
- '3.0'
- '3.1'
env:
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
CC_TEST_REPORTER_ID: "${{ secrets.CC_TEST_REPORTER_ID }}"
steps:
- uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby-version }}
ruby-version: "${{ matrix.ruby-version }}"
bundler-cache: true
timeout-minutes: 30
- name: Run tests
run: bundle exec rake
- name: Report code coverage
if: ${{ github.ref == 'refs/heads/master' && matrix.ruby-version == '3.0' }}
if: "${{ github.ref == 'refs/heads/master' && matrix.ruby-version == '3.0' }}"
continue-on-error: true
uses: paambaati/codeclimate-action@v5