Skip to content

Commit 6a25345

Browse files
committed
[py] use bash syntax
1 parent 02552cc commit 6a25345

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/ci-python.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,9 @@ jobs:
7171
name: Unit Tests (${{ matrix.os }})
7272
os: ${{ matrix.os }}
7373
cache-key: python-unit-test-${{ matrix.os }}
74+
shell: bash
7475
run: |
75-
if [[ "${{ runner.os }}" == "Windows" ]]; then
76+
if [ "$RUNNER_OS" == "Windows" ]; then
7677
fsutil 8dot3name set 0
7778
fi
7879
bazel test //py:unit
@@ -118,8 +119,9 @@ jobs:
118119
browser: ${{ matrix.browser }}
119120
os: ${{ matrix.os }}
120121
cache-key: py-browser-${{ matrix.browser }}
122+
shell: bash
121123
run: |
122-
if [[ "${{ runner.os }}" == "Windows" ]]; then
124+
if [ "$RUNNER_OS" == "Windows" ]; then
123125
fsutil 8dot3name set 0
124126
fi
125127
bazel test --local_test_jobs 1 --flaky_test_attempts 3 --pin_browsers=true //py:common-${{ matrix.browser }}-bidi //py:test-${{ matrix.browser }}

0 commit comments

Comments
 (0)