Correct testing of Python compiler #231
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: rake | |
on: | |
push: | |
branches: [ main, v*, ci-check ] | |
tags: [ v* ] | |
pull_request: | |
jobs: | |
rspec: | |
name: Test on Ruby ${{ matrix.ruby }} ${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
continue-on-error: true | |
strategy: | |
fail-fast: false | |
matrix: | |
ruby: [ 3.3, 3.2, 3.1, "3.0", 2.7, 2.6 ] | |
os: [ ubuntu-latest, windows-latest, macos-latest ] | |
env: | |
BUNDLE_WITHOUT: "secryst" | |
SKIP_JS: "1" | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
with: | |
repository: interscript/interscript | |
- name: Run bootstrap script | |
run: ruby bootstrap.rb | |
- name: Use Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: ${{ matrix.ruby }} | |
bundler-cache: true | |
- name: Run RSpecs | |
working-directory: ./ruby | |
run: | | |
pip install regex | |
bundle install --with=jsexec | |
bundle exec rspec |