Skip to content

Commit

Permalink
fix window tests
Browse files Browse the repository at this point in the history
  • Loading branch information
claire-labry committed Oct 21, 2022
1 parent 22936d5 commit 68a1b13
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/go-getter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ jobs:
PACKAGE_NAMES=$(go list ./...)
echo "Running $(echo $PACKAGE_NAMES | wc -w) packages"
echo $PACKAGE_NAMES
gotestsum --format=short-verbose --junitfile $TEST_RESULTS_PATH/go-getter/gotestsum-report.xml -- -p 2 -cover -race -coverprofile=win_cov.part $PACKAGE_NAMES
gotestsum --format=short-verbose --junitfile $TEST_RESULTS_PATH/go-getter/gotestsum-report.xml -- -p 2 $PACKAGE_NAMES
# Save coverage report parts
- name: Upload and save artifacts
Expand Down
2 changes: 2 additions & 0 deletions get_hg_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package getter

import (
"context"
"fmt"
"net/url"
"os"
"os/exec"
Expand Down Expand Up @@ -188,6 +189,7 @@ func TestHgGetter_HgArgumentsNotAllowed(t *testing.T) {
tt := tt
t.Run(tt.name, func(t *testing.T) {
g := new(HgGetter)
fmt.Print(tt.req.u.String())

if tt.req.Dst == "" {
dst := testing_helper.TempDir(t)
Expand Down

0 comments on commit 68a1b13

Please sign in to comment.