github.com/drellem2/pogo@v0.0.0-20240503070746-2c2b76da329a/test.sh (about)

     1  echo "Step 2: Testing..."
     2  export GOPATH=$(cd .. && pwd)
     3  BIN_PATH=$(cd ../bin && pwd)
     4  export POGO_PLUGIN_PATH="${BIN_PATH}/plugin"
     5  echo "Setting GOPATH to " $GOPATH
     6  echo "Setting POGO_PLUGIN_PATH to " $POGO_PLUGIN_PATH
     7  echo "Making test directories"
     8  mkdir -p _testdata/a-service/.git
     9  mkdir -p _testdata/b-service/.git
    10  
    11  echo "Testing pogo" && \
    12  go test github.com/drellem2/pogo/internal/project && \
    13  go test github.com/drellem2/pogo/internal/driver && \
    14  go test github.com/drellem2/pogo/internal/plugins/search
    15