-
Notifications
You must be signed in to change notification settings - Fork 124
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Only use github-actions format if format is set to testname. The current default pkgname is much more compact. Maybe we could add a github-actions-pkgname format in the future that folds the entire package. For now it seems safe to use github-actions instead of pkgname if the GITHUB_ACTIONS environment variable is set. If someone really wants the output expanded by default they can unset or overwrite that env var for the 'gotestsum' process.
- Loading branch information
Showing
3 changed files
with
8 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,4 +14,4 @@ jobs: | |
go-version: '1.20' | ||
cache: true | ||
- run: go build . | ||
- run: ./gotestsum | ||
- run: ./gotestsum -f testname |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters