Skip to content

Commit 5b9ab27

Browse files
committed
Rewatch tests need Git Bash for Windows
1 parent e2dd38b commit 5b9ab27

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

.github/workflows/ci.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -366,9 +366,19 @@ jobs:
366366
if: runner.os != 'Windows'
367367
run: make -C tests/gentype_tests/typescript-react-example clean test
368368

369+
# - name: Rewatch tests need Git Bash for Windows
370+
# if: ${{ runner.os == 'Windows' }}
371+
# run: echo "C:\Program Files\Git\bin" >> $GITHUB_PATH
372+
# shell: bash
373+
369374
- name: Run rewatch tests
370-
run: ./rewatch/tests/suite-ci.sh
371375
shell: bash
376+
run: |
377+
# Rewatch tests need Git Bash for Windows
378+
if [[ "$RUNNER_OS" == "Windows" ]]; then
379+
export PATH="/c/Program Files/Git/bin:$PATH"
380+
fi
381+
./rewatch/tests/suite-ci.sh
372382
373383
- name: Run syntax benchmarks
374384
if: matrix.benchmarks

0 commit comments

Comments
 (0)