ENV[PATH], better Windows support, new vite-ruby integration (#5) #113
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: | |
pull_request: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
name: Ruby ${{ matrix.ruby }} | |
strategy: | |
matrix: | |
ruby: | |
- "3.3.7" | |
- "3.2.6" | |
- "3.4.1" | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: ${{ matrix.ruby }} | |
bundler-cache: true | |
bundler: latest | |
env: | |
BUNDLE_FROZEN: "false" | |
- name: Download the bun executable for integration tests | |
run: bundle exec rake bundlebun:download | |
- name: Run RSpec | |
run: bundle exec rake | |
build-windows: | |
runs-on: windows-2025 | |
name: Ruby on Windows | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: "3.4.1" | |
bundler-cache: true | |
bundler: latest | |
env: | |
BUNDLE_FROZEN: "false" | |
- name: Download the bun executable for integration tests | |
run: bundle exec rake bundlebun:download | |
- name: Run RSpec | |
run: bundle exec rake |