gorealis-v2/runTestsMac.sh
Renán Del Valle ff603c67a5
Rebasing
2021-10-15 13:54:13 -07:00

4 lines
381 B
Bash

#!/bin/bash
# Since we run our docker compose setup in bridge mode to be able to run on MacOS, we have to launch a Docker container within the bridge network in order to avoid any routing issues.
docker run --rm -t -w /gorealis -v $GOPATH/pkg:/go/pkg -v $(pwd):/gorealis --network scheduler_aurora_cluster golang:1.17-buster go test -v github.com/aurora-scheduler/gorealis/v2 $@