version: 2 jobs: build: docker: - image: golang:1.19 working_directory: /gqlparser steps: - checkout - run: go test -race ./... - run: go test -coverprofile=/tmp/coverage.out -coverpkg=./... ./... - run: go run github.com/mattn/goveralls@latest -coverprofile=/tmp/coverage.out -service=circle-ci -repotoken=$COVERALLS_TOKEN - run: go test -count 25 ./... # check for flaky test ordering