name long bash test command

This commit is contained in:
Alvin Huang 2020-03-31 17:56:30 -04:00 committed by Martin Atkins
parent 11650bd1b5
commit d425f62009
1 changed files with 14 additions and 10 deletions

View File

@ -49,7 +49,9 @@ jobs:
mv consul ~/bin mv consul ~/bin
echo 'export PATH="~/bin:$PATH"' echo 'export PATH="~/bin:$PATH"'
- run: mkdir -p $TEST_RESULTS_DIR - run: mkdir -p $TEST_RESULTS_DIR
- run: | - run:
name: Run Go Tests
command: |
PACKAGE_NAMES=$(go list ./... | circleci tests split --split-by=timings --timings-type=classname) PACKAGE_NAMES=$(go list ./... | circleci tests split --split-by=timings --timings-type=classname)
echo "Running $(echo $PACKAGE_NAMES | wc -w) packages" echo "Running $(echo $PACKAGE_NAMES | wc -w) packages"
echo $PACKAGE_NAMES echo $PACKAGE_NAMES
@ -76,7 +78,9 @@ jobs:
- attach_workspace: - attach_workspace:
at: . at: .
- run: mkdir -p $TEST_RESULTS_DIR - run: mkdir -p $TEST_RESULTS_DIR
- run: | - run:
name: Run Go E2E Tests
command: |
PACKAGE_NAMES=$(go list ./... | circleci tests split --split-by=timings --timings-type=classname) PACKAGE_NAMES=$(go list ./... | circleci tests split --split-by=timings --timings-type=classname)
echo "Running $(echo $PACKAGE_NAMES | wc -w) packages" echo "Running $(echo $PACKAGE_NAMES | wc -w) packages"
echo $PACKAGE_NAMES echo $PACKAGE_NAMES