Skip to content

Commit 107ba6f

Browse files
committed
Fix
1 parent 0a877dd commit 107ba6f

File tree

3 files changed

+7
-8
lines changed

3 files changed

+7
-8
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -358,8 +358,6 @@ jobs:
358358
run: make -C tests/gentype_tests/typescript-react-example clean test
359359

360360
- name: Run rewatch tests
361-
env:
362-
CLICOLOR_FORCE: 0
363361
run: ./rewatch/tests/suite-ci.sh
364362
shell: bash
365363

@@ -525,7 +523,8 @@ jobs:
525523
working-directory: rewatch/testrepo
526524

527525
- name: Run rewatch integration tests
528-
run: make test-rewatch-integration
526+
run: ./rewatch/tests/suite-ci.sh node_modules/.bin/rewatch
527+
shell: bash
529528

530529
publish:
531530
needs:

Makefile

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,6 @@ test-gentype:
4747
test-rewatch:
4848
./rewatch/tests/suite-ci.sh
4949

50-
test-rewatch-integration:
51-
./rewatch/tests/suite-ci.sh node_modules/.bin/rewatch
52-
5350
test-all: test test-gentype test-analysis test-tools test-rewatch
5451

5552
reanalyze:

rewatch/tests/suite-ci.sh

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
#!/bin/bash
2+
3+
unset CLICOLOR_FORCE
4+
25
# Make sure we are in the right directory
36
cd $(dirname $0)
47

@@ -23,11 +26,11 @@ git checkout ../testrepo/package.json &> /dev/null
2326
success "Reset package.json and yarn.lock"
2427

2528
bold "Make sure the testrepo is clean"
26-
if git diff --exit-code ../testrepo &> diff.txt;
29+
if git diff --exit-code ../testrepo &> diff.txt;
2730
then
2831
rm diff.txt
2932
success "Testrepo has no changes"
30-
else
33+
else
3134
error "Testrepo is not clean to start with"
3235
cat diff.txt
3336
rm diff.txt

0 commit comments

Comments
 (0)