@@ -398,61 +398,6 @@ jobs:
398
398
with :
399
399
api-key : ${{ secrets.DATADOG_API_KEY }}
400
400
401
- # We don't run the full test-suite for Windows & MacOS, so we just run the CLI tests on every PR.
402
- # We run the test suite in test-go-pg, including CLI.
403
- test-cli :
404
- runs-on : ${{ matrix.os == 'macos-latest' && github.repository_owner == 'coder' && 'depot-macos-latest' || matrix.os == 'windows-2022' && github.repository_owner == 'coder' && 'windows-latest-16-cores' || matrix.os }}
405
- needs : changes
406
- if : needs.changes.outputs.go == 'true' || needs.changes.outputs.ci == 'true' || github.ref == 'refs/heads/main'
407
- strategy :
408
- matrix :
409
- os :
410
- - macos-latest
411
- - windows-2022
412
- steps :
413
- - name : Harden Runner
414
- uses : step-security/harden-runner@0634a2670c59f64b4a01f0f96f84700a4088b9f0 # v2.12.0
415
- with :
416
- egress-policy : audit
417
-
418
- - name : Checkout
419
- uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
420
- with :
421
- fetch-depth : 1
422
-
423
- - name : Setup Go
424
- uses : ./.github/actions/setup-go
425
-
426
- - name : Setup Terraform
427
- uses : ./.github/actions/setup-tf
428
-
429
- # Sets up the ImDisk toolkit for Windows and creates a RAM disk on drive R:.
430
- - name : Setup ImDisk
431
- if : runner.os == 'Windows'
432
- uses : ./.github/actions/setup-imdisk
433
-
434
- - name : Test CLI
435
- env :
436
- TS_DEBUG_DISCO : " true"
437
- LC_CTYPE : " en_US.UTF-8"
438
- LC_ALL : " en_US.UTF-8"
439
- TEST_RETRIES : 2
440
- shell : bash
441
- run : |
442
- # By default Go will use the number of logical CPUs, which
443
- # is a fine default.
444
- PARALLEL_FLAG=""
445
-
446
- make test-cli
447
-
448
- - name : Upload test stats to Datadog
449
- timeout-minutes : 1
450
- continue-on-error : true
451
- uses : ./.github/actions/upload-datadog
452
- if : success() || failure()
453
- with :
454
- api-key : ${{ secrets.DATADOG_API_KEY }}
455
-
456
401
test-go-pg :
457
402
# make sure to adjust NUM_PARALLEL_PACKAGES and NUM_PARALLEL_TESTS below
458
403
# when changing runner sizes
0 commit comments