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