Skip to content

Commit

Permalink
Correct testing of Python compiler
Browse files Browse the repository at this point in the history
  • Loading branch information
webdev778 committed Mar 7, 2024
1 parent 60c7ab5 commit 3375d02
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/rake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,6 @@ jobs:
- name: Run RSpecs
working-directory: ./ruby
run: |
pip install regex
bundle install --with=jsexec
bundle exec rspec
1 change: 1 addition & 0 deletions lib/interscript/compiler/python.rb
Original file line number Diff line number Diff line change
Expand Up @@ -308,6 +308,7 @@ def load
self.class.ctx = PyCall.import_module("interscript")
end
#puts @code
Dir.mkdir("#{python_src_path}/interscript/maps") rescue nil
File.write("#{python_src_path}/interscript/maps/#{@map.name}.py", @code)
self.class.ctx.load_map(@map.name)

Expand Down

0 comments on commit 3375d02

Please sign in to comment.