Merge pull request #92 from opal/staging #42
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: ubuntu | |
on: | |
push: | |
branches: | |
- master | |
- "*-stable" | |
- "*/ci-check" | |
pull_request: | |
branches: | |
- master | |
jobs: | |
build: | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ 'ubuntu-latest' ] | |
ruby: [ ruby-head, 3.2, 3.1, "3.0", 2.7 ] | |
opal: [ master, 1.7, 1.8 ] | |
runs-on: ${{ matrix.os }} | |
env: | |
OPAL_VERSION: ${{ matrix.opal }} | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: true | |
- uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: ${{ matrix.ruby }} | |
- name: Setup project | |
run: bin/setup | |
- name: Run opal-rspec test | |
run: "bundle exec exe/opal-rspec spec-opal-passing" | |
- name: Run rspec test | |
run: bundle exec rspec |