add minitest framework #470
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Unit Tests | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
tests: | |
strategy: | |
fail-fast: false | |
matrix: | |
ruby: ["2.5.1", "2.7.1"] | |
bundler: ["2.1.4"] | |
include: | |
- ruby: "3.0.2" | |
bundler: "2.3.5" | |
runs-on: ubuntu-latest | |
steps: | |
- name: checkout | |
uses: actions/checkout@v2 | |
- name: Setup Ruby using Bundler | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: ${{ matrix.ruby }} | |
bundler: ${{ matrix.bundler }} | |
- name: install gems | |
run: bundle install | |
- name: rspec test | |
run: bundle exec rake spec | |
- name: mini test | |
run: bundle exec rake test |