Skip to content

Commit

Permalink
Second attempt
Browse files Browse the repository at this point in the history
  • Loading branch information
mx-psi committed Aug 9, 2023
1 parent a19bc60 commit 88843aa
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/build-and-test-windows.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,5 @@ jobs:
~\go\pkg\mod
~\AppData\Local\go-build
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
- name: Work around https://github.com/actions/runner-images/issues/712
run: echo "TEMP=$env:USERPROFILE\AppData\Local\Temp" >> $env:GITHUB_ENV
- name: Run Unit Tests
run: make gotest
4 changes: 4 additions & 0 deletions Makefile.Common
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,10 @@ $(YQ): $(TOOLS_BIN_DIR) $(TOOLS_MOD_DIR)/go.mod

.PHONY: test
test:
ifeq ($(OS),Windows_NT)
# Work around https://github.com/actions/runner-images/issues/712
set TEMP="$USERPROFILE\AppData\Local\Temp"
endif
$(GOTEST) $(GOTEST_OPT) ./...

.PHONY: test-with-cover
Expand Down

0 comments on commit 88843aa

Please sign in to comment.