Skip to content

Commit 0a877dd

Browse files
committed
Fix
1 parent a91c6ee commit 0a877dd

File tree

4 files changed

+9
-17
lines changed

4 files changed

+9
-17
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -321,13 +321,11 @@ jobs:
321321
if: steps.ninja-build-cache.outputs.cache-hit != 'true'
322322
run: node scripts/copyExes.js --ninja
323323

324-
- name: "Syntax: Run roundtrip tests"
325-
if: ${{ runner.os != 'Windows' }}
326-
run: opam exec -- make test-syntax-roundtrip
327-
328-
- name: "Syntax: Run tests (Windows)"
329-
if: ${{ runner.os == 'Windows' }}
330-
run: opam exec -- make test-syntax
324+
- name: "Syntax: Run tests"
325+
env:
326+
ROUNDTRIP_TEST: ${{ runner.os == 'Windows' && '0' || '1' }}
327+
run: ./scripts/test_syntax.sh
328+
shell: bash
331329

332330
- name: Build runtime/stdlib with rewatch
333331
if: ${{ runner.os != 'Windows' }}
@@ -362,7 +360,8 @@ jobs:
362360
- name: Run rewatch tests
363361
env:
364362
CLICOLOR_FORCE: 0
365-
run: make test-rewatch
363+
run: ./rewatch/tests/suite-ci.sh
364+
shell: bash
366365

367366
- name: Run syntax benchmarks
368367
if: matrix.benchmarks
@@ -526,7 +525,6 @@ jobs:
526525
working-directory: rewatch/testrepo
527526

528527
- name: Run rewatch integration tests
529-
# Currently failing on Windows and intermittently on macOS
530528
run: make test-rewatch-integration
531529

532530
publish:

Makefile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,9 @@ test-tools:
3737

3838
test-syntax:
3939
./scripts/test_syntax.sh
40-
./scripts/testok.sh
4140

4241
test-syntax-roundtrip:
4342
ROUNDTRIP_TEST=1 ./scripts/test_syntax.sh
44-
./scripts/testok.sh
4543

4644
test-gentype:
4745
make -C tests/gentype_tests/typescript-react-example clean test

scripts/test_syntax.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,3 +117,5 @@ fi
117117

118118
rm -r temp/
119119
popd
120+
121+
printf "${successGreen}✅ All syntax tests passed.${reset}\n"

scripts/testok.sh

Lines changed: 0 additions & 6 deletions
This file was deleted.

0 commit comments

Comments
 (0)