Skip to content

Merge pull request #21 from ruby/use-test-unit-ruby-core #63

Merge pull request #21 from ruby/use-test-unit-ruby-core

Merge pull request #21 from ruby/use-test-unit-ruby-core #63

Workflow file for this run

name: windows
on: [push, pull_request]
jobs:
ruby-versions:
uses: ruby/actions/.github/workflows/ruby_versions.yml@master
with:
engine: cruby
min_version: 2.6
versions: '["mswin", "mingw"]'
test:
needs: ruby-versions
name: build (${{ matrix.ruby }})
strategy:
fail-fast: false
matrix:
ruby: ${{ fromJson(needs.ruby-versions.outputs.versions) }}
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
- name: Run test
run: bundle exec rake