Skip to content

chore: add workflow dispatch to test action #149

chore: add workflow dispatch to test action

chore: add workflow dispatch to test action #149

Workflow file for this run

name: Test
on:
push:
pull_request:
workflow_dispatch:
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
ruby_version: ["2.7", "3.0", "3.1", "3.2"]
os: ["ubuntu-latest","windows-latest","macos-latest"]
# defaults:
# run:
# shell: bash
steps:
- uses: actions/checkout@v3
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby_version }}
bundler-cache: true
- run: "bundle exec rake"
test-with-active-support:
runs-on: ${{ matrix.os }}
env:
BUNDLE_GEMFILE: active-support.gemfile
strategy:
fail-fast: false
matrix:
ruby_version: ["2.7", "3.0", "3.1", "3.2"]
os: ["ubuntu-latest","windows-latest","macos-latest"]
defaults:
run:
shell: bash
steps:
- uses: actions/checkout@v3
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby_version }}
bundler-cache: true
- run: "bundle exec rake spec_with_active_support"