Fix deploy preflight and add test matrix for mac/ubuntu #16
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: 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 |