mirror of
https://github.com/kemko/nomad.git
synced 2026-01-01 16:05:42 +03:00
Merge pull request #13330 from hashicorp/b-windows-go-path-order
build: rearrange go path order on windows
This commit is contained in:
@@ -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 \
|
||||
|
||||
Reference in New Issue
Block a user