github.com/manicqin/nomad@v0.9.5/.circleci/config/jobs/test-container.yml (about)

     1  executor: go
     2  parameters:
     3    test_packages:
     4      type: string
     5      default: ""
     6    exclude_packages:
     7      type: string
     8      default: ""
     9    goarch:
    10      type: string
    11      default: "amd64"
    12  environment:
    13    GOTEST_PKGS: "<< parameters.test_packages >>"
    14    GOTEST_PKGS_EXCLUDE: "<< parameters.exclude_packages >>"
    15    GOTESTARCH: "<< parameters.goarch >>"
    16  steps:
    17    - checkout
    18    - run: apt-get update; apt-get install -y shellcheck sudo unzip
    19    - run: make deps
    20    - install-protoc
    21    - install-consul
    22    - install-vault
    23    - run-tests
    24    - store_test_results:
    25        path: /tmp/test-reports
    26    - store_artifacts:
    27        path: /tmp/test-reports