Skip to content

Scheduling api

Scheduling api #553

Workflow file for this run

# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
# This workflow will download a prebuilt Ruby version, install dependencies and run tests with Rake
# For more information see: https://github.com/marketplace/actions/setup-ruby-jruby-and-truffleruby
name: CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
include:
- ruby: 3.0
- ruby: 3.1
- ruby: 3.2
name: Ruby ${{ matrix.ruby }}
steps:
- uses: actions/checkout@v2
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: false
- name: Bundle install
run: |
bundle config set gemfile "${GITHUB_WORKSPACE}/Gemfile"
bundle install
- name: Run tests
run: bundle exec rspec spec
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
with:
file: coverage/coverage.xml