Merge fork - blueprinter-ruby/blueprinter to procore-oss/blueprinter #73
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: Test | |
on: | |
push: | |
branches: [master, main] | |
pull_request: | |
branches: [master, main] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
ruby: ['2.7', '3.0', '3.1', '3.2'] | |
steps: | |
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # (latest, untagged) | |
- name: Set up Ruby ${{ matrix.ruby }} | |
uses: ruby/setup-ruby@250fcd6a742febb1123a77a841497ccaa8b9e939 | |
with: | |
ruby-version: ${{ matrix.ruby }} | |
bundler-cache: true | |
- name: Installing dependencies | |
run: bundle check --path=vendor/bundle || bundle install --path=vendor/bundle | |
- name: Run tests | |
run: bundle exec rake | |
- name: Benchmarks | |
run: bundle exec rake benchmarks |