98
98
- name : Install npm packages
99
99
run : yarn install
100
100
101
+ - name : Install testrepo deps
102
+ run : cd rewatch/testrepo && yarn install
103
+
101
104
- name : Install dependencies (Linux)
102
105
if : runner.os == 'Linux'
103
106
@@ -133,6 +136,8 @@ jobs:
133
136
- name : Copy rewatch binary
134
137
run : |
135
138
cp rewatch/target/${{ matrix.rust-target }}/release/rewatch${{ runner.os == 'Windows' && '.exe' || '' }} rewatch
139
+ mkdir -p rewatch/target/release
140
+ cp rewatch/target/${{ matrix.rust-target }}/release/rewatch${{ runner.os == 'Windows' && '.exe' || '' }} rewatch/target/release
136
141
./scripts/copyExes.js --rewatch
137
142
shell : bash
138
143
@@ -354,6 +359,9 @@ jobs:
354
359
if : runner.os != 'Windows'
355
360
run : make -C tests/gentype_tests/typescript-react-example clean test
356
361
362
+ - name : Run rewatch tests
363
+ run : make test-rewatch
364
+
357
365
- name : Run syntax benchmarks
358
366
if : matrix.benchmarks
359
367
run : ./_build/install/default/bin/syntax_benchmarks | tee tests/benchmark-output.json
@@ -507,7 +515,6 @@ jobs:
507
515
working-directory : ${{ steps.tmp-dir.outputs.path }}
508
516
509
517
- name : Install ReScript package in rewatch/testrepo
510
- if : runner.os == 'Linux'
511
518
run : |
512
519
COMMIT_SHA="${{ github.event.pull_request.head.sha || github.sha }}"
513
520
yarn add "rescript@https://pkg.pr.new/rescript-lang/rescript@${COMMIT_SHA::7}"
@@ -516,8 +523,7 @@ jobs:
516
523
517
524
- name : Run rewatch integration tests
518
525
# Currently failing on Windows and intermittently on macOS
519
- if : runner.os == 'Linux'
520
- run : make test-rewatch-ci
526
+ run : make test-rewatch-integration
521
527
522
528
publish :
523
529
needs :
0 commit comments