Update test to large resource class in config.yml
-
# CircleCI 2.0 configuration file
#
# Check https://circleci.com/docs/2.0/language-go/ for more details
@@ -8,7 +7,6 @@ jobs:
docker:
# specify the version
- image: cimg/go:1.18.0
-
# Specify service dependencies here if necessary
# CircleCI maintains a library of pre-built images
# documented at https://circleci.com/docs/2.0/circleci-images/
@@ -27,6 +25,8 @@ jobs:
- run: bash gofmt.sh
- run: go vet -testinggoroutine=false ./...
- run: go test ./...
+ # The resource_class feature allows configuring CPU and RAM resources for each job. Different resource classes are available for different executors. https://circleci.com/docs/2.0/configuration-reference/#resourceclass
+ resource_class: large
race:
docker:
@@ -67,7 +67,8 @@ jobs:
- run: python3 -m pip install requests
- run: go version
- run: go get -t -d -v ./...
- - run: go install -tags osusergo,netgo,sqlite_omit_load_extension -ldflags="-extldflags=-static" ./...
+ - run: go install -tags osusergo,netgo,sqlite_omit_load_extension
+ -ldflags="-extldflags=-static" ./...
- run:
command: python3 system_test/full_system_test.py
environment:
