8000 Add test-all to prism · ruby/ruby@ae13f85 · GitHub
[go: up one dir, main page]

Skip to content

Commit ae13f85

Browse files
committed
Add test-all to prism
1 parent 44f0dc6 commit ae13f85

File tree

7 files changed

+22
-20
lines changed

7 files changed

+22
-20
lines changed

.github/workflows/prism.yml

Lines changed: 10 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -83,33 +83,23 @@ jobs:
8383
8484
- run: $SETARCH make
8585

86-
- name: make btest
86+
- name: make test
8787
run: |
88-
make -s btest RUN_OPTS="$RUN_OPTS"
88+
$SETARCH make -s test RUN_OPTS="$RUN_OPTS"
8989
timeout-minutes: 30
9090
env:
9191
GNUMAKEFLAGS: ''
9292
RUBY_TESTOPTS: '-v --tty=no'
9393
RUN_OPTS: ${{ matrix.run_opts }}
94-
continue-on-error: true
9594

96-
# - name: make test
97-
# run: |
98-
# $SETARCH make -s test RUN_OPTS="$RUN_OPTS"
99-
# timeout-minutes: 30
100-
# env:
101-
# GNUMAKEFLAGS: ''
102-
# RUBY_TESTOPTS: '-v --tty=no'
103-
# RUN_OPTS: ${{ matrix.run_opts }}
104-
105-
# - name: make test-all
106-
# run: |
107-
# $SETARCH make -s test-all RUN_OPTS="$RUN_OPTS"
108-
# timeout-minutes: 40
109-
# env:
110-
# GNUMAKEFLAGS: ''
111-
# RUBY_TESTOPTS: '-q --tty=no'
112-
# RUN_OPTS: ${{ matrix.run_opts }}
95+
- name: make test-all
96+
run: |
97+
$SETARCH make -s test-all RUN_OPTS="$RUN_OPTS"
98+
timeout-minutes: 40
99+
env:
100+
GNUMAKEFLAGS: ''
101+
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"'
102+
RUN_OPTS: ${{ matrix.run_opts }}
113103

114104
# - name: make test-spec
115105
# run: |
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
exclude(:test_massign_order, "https://github.com/ruby/prism/issues/2370")

test/.excludes-prism/TestM17N.rb

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
exclude(:test_regexp_embed, "https://github.com/ruby/prism/issues/1997")
2+
exclude(:test_dynamic_eucjp_regexp, "https://github.com/ruby/prism/issues/1997")
3+
exclude(:test_regexp_ascii, "https://github.com/ruby/prism/issues/1997")
4+
exclude(:test_dynamic_utf8_regexp, "https://github.com/ruby/prism/issues/1997")
5+
exclude(:test_dynamic_sjis_regexp, "https://github.com/ruby/prism/issues/1997")

test/.excludes-prism/TestRequire.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
exclude(:test_require_nonascii_path_shift_jis, "unknown")
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
exclude(:test_string, "https://github.com/ruby/prism/issues/2331")
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
exclude(:test_tracepoint_nested_enabled_with_target, "unknown")
2+
exclude(:test_allow_reentry, "unknown")
3+
exclude(:test_tp_rescue, "unknown")

test/.excludes-prism/TestSyntax.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
exclude(:test_it, "https://github.com/ruby/prism/issues/2323")

0 commit comments

Comments
 (0)
0