Skip to content

Added CI build matrix #39

Added CI build matrix

Added CI build matrix #39

Workflow file for this run

name: Continuous Integration
on: [push, pull_request]
jobs:
tests:
runs-on: ubuntu-latest
name: Tests
strategy:
fail-fast: false
matrix:
ruby:
- "3.2"
- "3.1"
- "3.0"
include:
- ruby: "3.2"
coverage: "true"
env:
COVERAGE: ${{matrix.coverage}}
COVERAGE_TOKEN: ${{secrets.CODACY_PROJECT_TOKEN}}
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{matrix.ruby}}
bundler-cache: true
- name: Rake
run: bundle exec rake
- name: Archive SimpleCov Report
uses: actions/upload-artifact@v3
with:
name: coverage
path: coverage