Skip to content

Commit fb2d6c9

Browse files
committed
disable windows and macos pg tests in regular CI
1 parent 7d3ebdb commit fb2d6c9

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/ci.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -544,16 +544,19 @@ jobs:
544544
# Postgres tends not to choke.
545545
NUM_PARALLEL_PACKAGES=8
546546
NUM_PARALLEL_TESTS=16
547+
PACKAGES="./cli/... ./enterprise/cli/... ./agent/..."
547548
elif [ "${{ runner.os }}" == "macOS" ]; then
548549
# Our macOS runners have 8 cores. We set NUM_PARALLEL_TESTS to 16
549550
# because the tests complete faster and Postgres doesn't choke. It seems
550551
# that macOS's tmpfs is faster than the one on Windows.
551552
NUM_PARALLEL_PACKAGES=8
552553
NUM_PARALLEL_TESTS=16
554+
PACKAGES="./cli/... ./enterprise/cli/... ./agent/..."
553555
elif [ "${{ runner.os }}" == "Linux" ]; then
554556
# Our Linux runners have 8 cores.
555557
NUM_PARALLEL_PACKAGES=8
556558
NUM_PARALLEL_TESTS=8
559+
PACKAGES="./..."
557560
fi
558561
559562
# by default, run tests with cache
@@ -577,7 +580,7 @@ jobs:
577580
normalize_path_with_symlinks "$RUNNER_TEMP/sym" "$(dirname $(which terraform))"
578581
579582
DB=ci gotestsum $TEST_RETRIES \
580-
--format standard-quiet --packages "./..." \
583+
--format standard-quiet --packages $PACKAGES \
581584
-- -timeout=20m -v -p $NUM_PARALLEL_PACKAGES -parallel=$NUM_PARALLEL_TESTS $TESTCOUNT
582585
583586
- name: Upload Go Build Cache

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy