@@ -335,18 +335,23 @@ jobs:
335
335
with :
336
336
fetch-depth : 1
337
337
338
+ # Sets up the ImDisk toolkit for Windows and creates a RAM disk on drive R:.
339
+ - name : Setup ImDisk
340
+ if : runner.os == 'Windows'
341
+ uses : ./.github/actions/setup-imdisk
342
+
338
343
- name : Download Go Build Cache
339
344
id : download-go-build-cache
340
345
uses : ./.github/actions/test-cache/download
341
346
if : runner.os == 'Windows'
342
347
with :
343
348
key-prefix : test-go-build-11-${{ runner.os }}-${{ runner.arch }}
344
- cache-path : " ~ /.cache/go-cache"
349
+ cache-path : " /r /.cache/go-cache"
345
350
346
351
- name : Setup Go
347
352
uses : ./.github/actions/setup-go
348
353
with :
349
- build-cache-path : ~ /.cache/go-cache
354
+ build-cache-path : /r /.cache/go-cache
350
355
cache : false
351
356
352
357
- name : Normalize File and Directory Timestamps
@@ -364,32 +369,32 @@ jobs:
364
369
with :
365
370
key-prefix : test-go-${{ runner.os }}-${{ runner.arch }}
366
371
367
- - name : Test with Mock Database
368
- id : test
369
- shell : bash
370
- run : |
371
- # if macOS, install google-chrome for scaletests. As another concern,
372
- # should we really have this kind of external dependency requirement
373
- # on standard CI?
374
- if [ "${{ matrix.os }}" == "macos-latest" ]; then
375
- brew install google-chrome
376
- fi
377
-
378
- # By default Go will use the number of logical CPUs, which
379
- # is a fine default.
380
- PARALLEL_FLAG=""
381
-
382
- # macOS will output "The default interactive shell is now zsh"
383
- # intermittently in CI...
384
- if [ "${{ matrix.os }}" == "macos-latest" ]; then
385
- touch ~/.bash_profile && echo "export BASH_SILENCE_DEPRECATION_WARNING=1" >> ~/.bash_profile
386
- fi
387
- export TS_DEBUG_DISCO=true
388
- export GOCACHE=~ /.cache/go-cache/build
389
- export GOMODCACHE=~ /.cache/go-cache/mod
390
- echo "PATH: $PATH"
391
- gotestsum --junitfile="gotests.xml" --jsonfile="gotests.json" \
392
- --packages="./..." -- $PARALLEL_FLAG -short -failfast
372
+ # - name: Test with Mock Database
373
+ # id: test
374
+ # shell: bash
375
+ # run: |
376
+ # # if macOS, install google-chrome for scaletests. As another concern,
377
+ # # should we really have this kind of external dependency requirement
378
+ # # on standard CI?
379
+ # if [ "${{ matrix.os }}" == "macos-latest" ]; then
380
+ # brew install google-chrome
381
+ # fi
382
+
383
+ # # By default Go will use the number of logical CPUs, which
384
+ # # is a fine default.
385
+ # PARALLEL_FLAG=""
386
+
387
+ # # macOS will output "The default interactive shell is now zsh"
388
+ # # intermittently in CI...
389
+ # if [ "${{ matrix.os }}" == "macos-latest" ]; then
390
+ # touch ~/.bash_profile && echo "export BASH_SILENCE_DEPRECATION_WARNING=1" >> ~/.bash_profile
391
+ # fi
392
+ # export TS_DEBUG_DISCO=true
393
+ # export GOCACHE=/r /.cache/go-cache/build
394
+ # export GOMODCACHE=/r /.cache/go-cache/mod
395
+ # echo "PATH: $PATH"
396
+ # gotestsum --junitfile="gotests.xml" --jsonfile="gotests.json" \
397
+ # --packages="./..." -- $PARALLEL_FLAG -short -failfast
393
398
394
399
- name : Upload Test Cache
395
400
uses : ./.github/actions/test-cache/upload
@@ -401,7 +406,7 @@ jobs:
401
406
uses : ./.github/actions/test-cache/upload
402
407
with :
403
408
cache-key : ${{ steps.download-go-build-cache.outputs.cache-key }}-${{ github.run_id }}-${{ github.run_attempt }}
404
- cache-path : " ~ /.cache/go-cache"
409
+ cache-path : " /r /.cache/go-cache"
405
410
override-condition : " true"
406
411
407
412
# We don't run the full test-suite for Windows & MacOS, so we just run the CLI tests on every PR.
0 commit comments