Skip to content

Commit

Permalink
Debug - 4
Browse files Browse the repository at this point in the history
  • Loading branch information
docktermj committed Feb 26, 2025
1 parent 223e371 commit 532217d
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/go-test-windows.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,7 @@ jobs:
# dir "$Env:USERPROFILE"

- name: Add to "Path" environment variable
run: |
# shellcheck disable=SC2028
echo "$Env:USERPROFILE\Senzing\er\lib" >> "$env:GITHUB_PATH"
run: echo "$Env:USERPROFILE\Senzing\er\lib" >> "$env:GITHUB_PATH"

- name: Copy /etc files
run: copy testdata/senzing-license/g2.lic "$Env:USERPROFILE\Senzing\er\etc\g2.lic"
Expand All @@ -66,12 +64,12 @@ jobs:
# - name: Environment variables 2
# run: env

- name: Run go test without SENZING_PATH environment variable
- name: Run go test without SENZING_PATH environment variable set
run: |
go test -json -v -p 1 -coverprofile=cover -covermode=atomic -coverpkg=./... ./... 2>&1 | tee "C:\Temp\gotest.log" | gotestfmt
cp cover cover.out
- name: Run go test with SENZING_PATH environment variable
- name: Run go test with SENZING_PATH environment variable set
run: |
echo "SENZING_PATH=$env:USERPROFILE\Senzing" | Out-File -FilePath $env:GITHUB_ENV -Append
go test -json -v -p 1 -coverprofile=cover -covermode=atomic -coverpkg=./... ./... 2>&1 | tee "C:\Temp\gotest.log" | gotestfmt
Expand Down

0 comments on commit 532217d

Please sign in to comment.