github.com/kata-containers/runtime@v0.0.0-20210505125100-04f29832a923/.ci/go-test.sh (about)

     1  #!/bin/bash
     2  # Copyright (c) 2018 Intel Corporation
     3  #
     4  # SPDX-License-Identifier: Apache-2.0
     5  
     6  set -e
     7  
     8  cidir=$(dirname "$0")
     9  source "${cidir}/lib.sh"
    10  export CI_JOB="${CI_JOB:-default}"
    11  
    12  if [ "${CI_JOB}" != "PODMAN" ] && [ "${CI_JOB}" != "CLOUD-HYPERVISOR-PODMAN" ]; then
    13  	run_go_test
    14  fi