diff options
| author | Dave Henderson <dhenderson@gmail.com> | 2019-10-24 20:35:19 -0400 |
|---|---|---|
| committer | Dave Henderson <dhenderson@gmail.com> | 2019-10-24 21:14:27 -0400 |
| commit | f57297c4c24458136f343e809fa2ed2d41dd5051 (patch) | |
| tree | fc08e476701447be43155ca25f95f9b2d0da0220 /.github | |
| parent | 094d983a3708ddac63b757051b9d0fb04747ea69 (diff) | |
Fix windows build
Signed-off-by: Dave Henderson <dhenderson@gmail.com>
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/windows.yml | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 7d706820..74fec1ac 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -12,20 +12,15 @@ jobs: uses: actions/setup-go@v1 with: go-version: 1.13.x - - name: go version - run: go version - uses: actions/checkout@master with: path: ./src/github.com/${{ github.repository }} - - name: build - run: go build -o bin/gomplate.exe github.com/hairyhenderson/gomplate/cmd/gomplate + - run: make build env: GOPATH: ${{ runner.workspace }} - - name: test - run: go test -v ./... & IF ERRORLEVEL == 1 EXIT 1 + - run: make test env: GOPATH: ${{ runner.workspace }} - - name: integration - run: go test -v -tags=integration -ldflags "-X github.com/hairyhenderson/gomplate/tests/integration.GomplateBin=${{ runner.workspace }}/src/github.com/${{ github.repository }}/bin/gomplate.exe" ./tests/integration -check.v + - run: make integration env: GOPATH: ${{ runner.workspace }} |
