test: remove Open3 stub from mapped command test #1
This file contains hidden or 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
| # SPDX-FileCopyrightText: 2026 Kerrick Long <me@kerricklong.com> | |
| # SPDX-License-Identifier: LGPL-3.0-or-later | |
| name: CI | |
| on: | |
| push: | |
| pull_request: | |
| jobs: | |
| test: | |
| name: Test (Ruby ${{ matrix.ruby }}, ${{ matrix.os }}) | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| ruby: ["3.2", "3.3", "3.4", "4.0.1"] | |
| os: [ubuntu-latest, macos-latest, windows-latest] | |
| env: | |
| CI: "true" | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Override Ruby version in mise.toml | |
| shell: bash | |
| run: sed -i.bak 's/ruby = .*/ruby = "${{ matrix.ruby }}"/' mise.toml | |
| - name: Install Ruby via RubyInstaller (Windows) | |
| if: runner.os == 'Windows' | |
| uses: ruby/setup-ruby@v1 | |
| with: | |
| ruby-version: ${{ matrix.ruby }} | |
| - name: Configure Windows Ruby (non-mise) | |
| if: runner.os == 'Windows' | |
| shell: pwsh | |
| run: | | |
| Add-Content -Path .mise.local.toml -Value "[settings]`ndisable_tools = [`"ruby`"]" | |
| - name: Install toolchain via mise | |
| uses: jdx/mise-action@v2 | |
| - name: Setup (Unix) | |
| if: runner.os != 'Windows' | |
| shell: bash | |
| run: bin/setup | |
| - name: Setup (Windows) | |
| if: runner.os == 'Windows' | |
| shell: pwsh | |
| run: bin/setup.ps1 | |
| - name: Default task | |
| run: mise x -- bundle exec rake |