9898 - name : Install npm packages
9999 run : yarn install
100100
101+ - name : Install testrepo deps
102+ run : cd rewatch/testrepo && yarn install
103+
101104 - name : Install dependencies (Linux)
102105 if : runner.os == 'Linux'
103106 uses : awalsh128/cache-apt-pkgs-action@v1.4.3
@@ -133,6 +136,8 @@ jobs:
133136 - name : Copy rewatch binary
134137 run : |
135138 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
136141 ./scripts/copyExes.js --rewatch
137142 shell : bash
138143
@@ -354,6 +359,9 @@ jobs:
354359 if : runner.os != 'Windows'
355360 run : make -C tests/gentype_tests/typescript-react-example clean test
356361
362+ - name : Run rewatch tests
363+ run : make test-rewatch
364+
357365 - name : Run syntax benchmarks
358366 if : matrix.benchmarks
359367 run : ./_build/install/default/bin/syntax_benchmarks | tee tests/benchmark-output.json
@@ -507,7 +515,6 @@ jobs:
507515 working-directory : ${{ steps.tmp-dir.outputs.path }}
508516
509517 - name : Install ReScript package in rewatch/testrepo
510- if : runner.os == 'Linux'
511518 run : |
512519 COMMIT_SHA="${{ github.event.pull_request.head.sha || github.sha }}"
513520 yarn add "rescript@https://pkg.pr.new/rescript-lang/rescript@${COMMIT_SHA::7}"
@@ -516,8 +523,7 @@ jobs:
516523
517524 - name : Run rewatch integration tests
518525 # 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
521527
522528 publish :
523529 needs :
0 commit comments