Skip to content

Commit

Permalink
Update truffleruby workflow to use newer APIs now that Prism is default
Browse files Browse the repository at this point in the history
  • Loading branch information
eregon committed Feb 3, 2024
1 parent 5ddc586 commit 2d0c64b
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/truffleruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,12 +64,8 @@ jobs:
working-directory: truffleruby-ws/truffleruby

- name: Parse test/prism/fixtures/**/*.rb
run: jt ruby -e 'Dir.glob("test/prism/fixtures/**/*.rb") { |file| puts file; Truffle::Debug.yarp_parse(File.read(file)) }'
run: jt ruby -e 'Dir.glob("test/prism/fixtures/**/*.txt") { |file| puts file; puts Truffle::Debug.parse_ast(File.read(file)) }'
working-directory: prism

- name: Parse src/main/ruby/truffleruby/**/*.rb
run: jt ruby -e 'Dir.glob("src/main/ruby/truffleruby/**/*.rb") { |file| puts file; Truffle::Debug.yarp_parse(File.read(file)) }'
working-directory: truffleruby-ws/truffleruby

- name: Execute p 1+2
run: jt ruby -e 'Truffle::Debug.yarp_execute "p 1+2"'
run: jt ruby -e 'p 1+2'

0 comments on commit 2d0c64b

Please sign in to comment.