steps: - run: name: Running Nomad Tests no_output_timeout: 20m command: | if [ -z $GOTEST_PKGS_EXCLUDE ]; then unset GOTEST_PKGS_EXCLUDE else unset GOTEST_PKGS fi if [ ! -z $GOTESTARCH ]; then export GOARCH="$GOTESTARCH"; fi mkdir -p /tmp/test-reports sudo -E PATH="$GOPATH/bin:/usr/local/go/bin:$PATH" make generate-structs if [ ! -z $GOTEST_MOD ]; then sudo -E PATH="$GOPATH/bin:/usr/local/go/bin:$PATH" make test-nomad-module else sudo -E PATH="$GOPATH/bin:/usr/local/go/bin:$PATH" make test-nomad fi