diff --git a/.github/workflows/reusable-go-container-apps.yml b/.github/workflows/reusable-go-container-apps.yml index c9d7c8f..242ac1d 100644 --- a/.github/workflows/reusable-go-container-apps.yml +++ b/.github/workflows/reusable-go-container-apps.yml @@ -55,6 +55,10 @@ on: required: false description: | shell commands to setup the test environment + testUpload: + type: boolean + required: true + default: true golangciSetup: type: string required: false @@ -146,6 +150,7 @@ jobs: with: setup: ${{ inputs.testSetup }} extraArgs: ${{ inputs.goTestExtraArgs }} + upload: ${{ inputs.testUpload }} go-vet: if: ${{ contains(fromJSON('["workflow_call", "workflow_dispatch", "push", "pull_request"]'), github.event_name) && startsWith(github.repository, 'GeoNet/') != false }} uses: GeoNet/Actions/.github/workflows/reusable-go-vet.yml@main diff --git a/.github/workflows/reusable-go-test.yml b/.github/workflows/reusable-go-test.yml index 0d8ba66..2690b50 100644 --- a/.github/workflows/reusable-go-test.yml +++ b/.github/workflows/reusable-go-test.yml @@ -14,7 +14,7 @@ on: extra args to pass `go test` upload: required: false - default: false + default: true type: boolean description: | set to true to push test coverage as an artifact