-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add "new" command for scaffolding projects (#15)
Co-authored-by: mg <[email protected]>
- Loading branch information
1 parent
173e9e7
commit 085c266
Showing
16 changed files
with
676 additions
and
41 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 |
---|---|---|
|
@@ -11,11 +11,20 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: "build containers" | ||
run: ./scripts/build_containers.sh | ||
- name: Publish Unit Test Results | ||
uses: EnricoMi/[email protected] | ||
- uses: actions/setup-go@v2 | ||
with: | ||
go-version: "^1.16.4" | ||
- name: Setup gotestsum | ||
uses: autero1/[email protected] | ||
with: | ||
gotestsum_version: 1.6.4 | ||
- name: "go test" | ||
run: | | ||
rm -rf ./reports && mkdir ./reports; | ||
gotestsum --format standard-verbose --junitfile ./reports/junit.xml --raw-command -- go test -parallel 5 --json ./...; | ||
- name: Upload Test Results | ||
if: always() | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
files: reports/*.xml | ||
name: Unit Test Results | ||
path: reports/*.xml |
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
Oops, something went wrong.