Skip to content

Commit

Permalink
Add test-all to prism
Browse files Browse the repository at this point in the history
  • Loading branch information
kddnewton committed Feb 6, 2024
1 parent c340332 commit ae8d558
Show file tree
Hide file tree
Showing 7 changed files with 22 additions and 20 deletions.
30 changes: 10 additions & 20 deletions .github/workflows/prism.yml
Expand Up @@ -83,33 +83,23 @@ jobs:
- run: $SETARCH make

- name: make btest
- name: make test
run: |
make -s btest RUN_OPTS="$RUN_OPTS"
$SETARCH make -s test RUN_OPTS="$RUN_OPTS"
timeout-minutes: 30
env:
GNUMAKEFLAGS: ''
RUBY_TESTOPTS: '-v --tty=no'
RUN_OPTS: ${{ matrix.run_opts }}
continue-on-error: true

# - name: make test
# run: |
# $SETARCH make -s test RUN_OPTS="$RUN_OPTS"
# timeout-minutes: 30
# env:
# GNUMAKEFLAGS: ''
# RUBY_TESTOPTS: '-v --tty=no'
# RUN_OPTS: ${{ matrix.run_opts }}

# - name: make test-all
# run: |
# $SETARCH make -s test-all RUN_OPTS="$RUN_OPTS"
# timeout-minutes: 40
# env:
# GNUMAKEFLAGS: ''
# RUBY_TESTOPTS: '-q --tty=no'
# RUN_OPTS: ${{ matrix.run_opts }}
- name: make test-all
run: |
$SETARCH make -s test-all RUN_OPTS="$RUN_OPTS"
timeout-minutes: 40
env:
GNUMAKEFLAGS: ''
RUBY_TESTOPTS: '-q --tty=no --excludes-dir="../src/test/.excludes-prism" --exclude="test_ast.rb" --exclude="test_regexp.rb" --exclude="error_highlight/test_error_highlight.rb"'
RUN_OPTS: ${{ matrix.run_opts }}

# - name: make test-spec
# run: |
Expand Down
1 change: 1 addition & 0 deletions test/.excludes-prism/TestAssignment.rb
@@ -0,0 +1 @@
exclude(:test_massign_order, "https://github.com/ruby/prism/issues/2370")
5 changes: 5 additions & 0 deletions test/.excludes-prism/TestM17N.rb
@@ -0,0 +1,5 @@
exclude(:test_regexp_embed, "https://github.com/ruby/prism/issues/1997")
exclude(:test_dynamic_eucjp_regexp, "https://github.com/ruby/prism/issues/1997")
exclude(:test_regexp_ascii, "https://github.com/ruby/prism/issues/1997")
exclude(:test_dynamic_utf8_regexp, "https://github.com/ruby/prism/issues/1997")
exclude(:test_dynamic_sjis_regexp, "https://github.com/ruby/prism/issues/1997")
1 change: 1 addition & 0 deletions test/.excludes-prism/TestRequire.rb
@@ -0,0 +1 @@
exclude(:test_require_nonascii_path_shift_jis, "unknown")
1 change: 1 addition & 0 deletions test/.excludes-prism/TestRubyLiteral.rb
@@ -0,0 +1 @@
exclude(:test_string, "https://github.com/ruby/prism/issues/2331")
3 changes: 3 additions & 0 deletions test/.excludes-prism/TestSetTraceFunc.rb
@@ -0,0 +1,3 @@
exclude(:test_tracepoint_nested_enabled_with_target, "unknown")
exclude(:test_allow_reentry, "unknown")
exclude(:test_tp_rescue, "unknown"
1 change: 1 addition & 0 deletions test/.excludes-prism/TestSyntax.rb
@@ -0,0 +1 @@
exclude(:test_it, "https://github.com/ruby/prism/issues/2323")

0 comments on commit ae8d558

Please sign in to comment.