github.com/manicqin/nomad@v0.9.5/.circleci/config/commands/run-tests.yml (about) 1 steps: 2 - run: 3 name: Running Nomad Tests 4 no_output_timeout: 20m 5 command: | 6 if [ -z $GOTEST_PKGS_EXCLUDE ]; 7 then 8 unset GOTEST_PKGS_EXCLUDE 9 else 10 unset GOTEST_PKGS 11 fi 12 13 if [ ! -z $GOTESTARCH ]; then 14 export GOARCH="$GOTESTARCH"; 15 fi 16 17 mkdir -p /tmp/test-reports 18 sudo -E PATH="$GOPATH/bin:/usr/local/go/bin:$PATH" make generate-structs 19 sudo -E PATH="$GOPATH/bin:/usr/local/go/bin:$PATH" make test-nomad