Skip to content

rm if

rm if #50

Workflow file for this run

name: Run Tests
on:
push:
branches:
- '*'
jobs:
run-tests:
strategy:
fail-fast: false
matrix:
os: [ windows-latest ]
ruby: [ '2.6', '2.7', '3.0', '3.1', '3.2', '3.3', head ]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- name: Update RubyGems (only for Ruby 2.6)
run: gem update --system 3.2.3
if: matrix.ruby == '2.6'
- name: Set env variables for Windows
run: echo "TMP='${{ github.workspace }}'" >> $GITHUB_ENV; echo "TEMP='${{ github.workspace }}'" >> $GITHUB_ENV
- name: Build stub and run tests
run: |
bundle exec rake build_stub
bundle exec rake test