github.com/bakjos/protoreflect@v1.9.2/.circleci/config.yml (about) 1 shared_configs: 2 simple_job_steps: &simple_job_steps 3 - checkout 4 - run: 5 name: Run tests 6 command: | 7 make deps test 8 9 10 # Use the latest 2.1 version of CircleCI pipeline process engine. See: https://circleci.com/docs/2.0/configuration-reference 11 version: 2.1 12 jobs: 13 build-1-12: 14 working_directory: ~/repo 15 docker: 16 - image: circleci/golang:1.12 17 environment: 18 GO111MODULE: "on" 19 steps: *simple_job_steps 20 21 build-1-13: 22 working_directory: ~/repo 23 docker: 24 - image: circleci/golang:1.13 25 steps: *simple_job_steps 26 27 build-1-14: 28 working_directory: ~/repo 29 docker: 30 - image: circleci/golang:1.14 31 steps: *simple_job_steps 32 33 build-1-15: 34 working_directory: ~/repo 35 docker: 36 - image: circleci/golang:1.15 37 environment: 38 GO111MODULE: "on" 39 steps: 40 - checkout 41 - restore_cache: 42 keys: 43 - go-mod-v4-{{ checksum "go.sum" }} 44 - run: 45 name: Install Dependencies 46 command: go mod download 47 - save_cache: 48 key: go-mod-v4-{{ checksum "go.sum" }} 49 paths: 50 - "/go/pkg/mod" 51 - run: 52 name: Run tests 53 command: | 54 #mkdir -p /tmp/test-reports 55 #gotestsum --junitfile /tmp/test-reports/unit-tests.xml 56 make ci 57 #- store_test_results: 58 # path: /tmp/test-reports 59 60 build-1-16: 61 working_directory: ~/repo 62 docker: 63 - image: circleci/golang:1.16 64 steps: *simple_job_steps 65 66 workflows: 67 pr-build-test: 68 jobs: 69 - build-1-12 70 - build-1-13 71 - build-1-14 72 - build-1-15 73 - build-1-16