Skip to content

Commit

Permalink
Update Opal versions for GHA
Browse files Browse the repository at this point in the history
  • Loading branch information
hmdne committed Dec 24, 2021
1 parent ad505ec commit a919e1b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ jobs:
strategy:
matrix:
os: [ 'ubuntu-latest' ]
ruby: [ "3.0", "2.7", "2.6", "2.5" ]
opal: [ "1.0.3", "1.1.0" ]
ruby: [ "head", "3.0", "2.7", "2.6" ]
opal: [ "~>1.0.0a", "~>1.1.0a", "~>1.3.0a", "~>1.4.0a"]

runs-on: ${{ matrix.os }}

Expand Down
4 changes: 2 additions & 2 deletions spec/tilt/opal_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
template = described_class.new('./spec/fixtures/opal_file.rb', :build=>true)
output = template.render
expect(output).to include('"hi from opal!"')
expect(output).to include('self.$require("corelib/runtime");')
expect(output).to include('.$require("corelib/runtime");')
end

it "support :builder option" do
Expand All @@ -31,7 +31,7 @@
2.times do
output = template.render
expect(output.scan(/hi from opal!/).length).to eql(1)
expect(output).not_to include('self.$require("corelib/runtime");')
expect(output).not_to include('.$require("corelib/runtime");')
end
end
end

0 comments on commit a919e1b

Please sign in to comment.