Merge pull request #13330 from hashicorp/b-windows-go-path-order

build: rearrange go path order on windows
This commit is contained in:
Seth Hoenig
2022-06-10 08:06:25 -05:00
committed by GitHub

View File

@@ -179,7 +179,7 @@ jobs:
- run:
name: Install golang dependencies
command: |
export PATH=$PATH:/c/go/bin:/c/gopath/bin
export PATH=/c/go/bin:/c/gopath/bin:$PATH
make deps
- run:
name: Pre-download docker test image
@@ -187,13 +187,13 @@ jobs:
- run:
name: Build nomad
command: |
export PATH=$PATH:/c/go/bin:/c/gopath/bin
export PATH=/c/go/bin:/c/gopath/bin:$PATH
go build -o $GOBIN\nomad.exe
- run:
name: Run tests with gotestsum
command: |
# Only test docker driver tests for now
export PATH=$PATH:/c/go/bin:/c/gopath/bin
export PATH=/c/go/bin:/c/gopath/bin:$PATH
gotestsum --format=short-verbose \
--junitfile $GOTESTSUM_PATH/results.xml \
github.com/hashicorp/nomad/drivers/docker \