Skip to content

Fix deploy preflight and add test matrix for mac/ubuntu #16

Fix deploy preflight and add test matrix for mac/ubuntu

Fix deploy preflight and add test matrix for mac/ubuntu #16

Workflow file for this run

name: CLI Tests and Linting
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
ruby-version: ['3.2.2']
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby-version }}
bundler-cache: true
- name: Run Rubocop
run: bundle exec rubocop --parallel
- name: Run Minitest tests
run: |
bundle exec rake test TESTOPTS="--verbose"
env:
MINITEST_REPORTER: ProgressReporter