Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable publishing test results for now #16979

Merged
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ jobs:
failOnStderr: true
condition: succeededOrFailed()

- script: gofmt -s -l -d $(find . -path ./vendor -prune -o -name '*.go' -print) >&2
- script: gofmt -s -l -d $(find . $(go.test.filter) -name '*.go' -print) >&2
workingDirectory: '$(sdkPath)'
displayName: 'Format Check'
failOnStderr: true
Expand Down
4 changes: 3 additions & 1 deletion eng/scripts/run_tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ go test -run "^Test" -v -coverprofile coverage.txt ./... | Tee-Object -FilePath
if ($LASTEXITCODE) {
exit $LASTEXITCODE
}
exit 0

Get-Content outfile.txt | go-junit-report > report.xml

# if no tests were actually run (e.g. examples) delete the coverage file so it's omitted from the coverage report
Expand Down Expand Up @@ -41,4 +43,4 @@ if (Select-String -path ./report.xml -pattern '<testsuites></testsuites>' -simpl
-config $repoRoot/eng/config.json `
-serviceDirectory $serviceDirectory `
-searchDirectory $repoRoot
}
}