diff --git a/go/build-and-test/action.yml b/go/build-and-test/action.yml index 76d4604..26bdeb3 100644 --- a/go/build-and-test/action.yml +++ b/go/build-and-test/action.yml @@ -36,6 +36,10 @@ inputs: description: A timeout value in seconds. If tests take longer than this, they will fail. Not setting this value will fallback to go test's default of 10 minutes. required: false default: "" + SKIP_TESTS: + description: Skip tests + required: false + default: false runs: using: "composite" @@ -69,6 +73,7 @@ runs: FLIPPCIRCLECIPULLER_REPO_TOKEN: ${{ inputs.FLIPPCIRCLECIPULLER_REPO_TOKEN }} - name: Run custom Go test action uses: wishabi/github-actions/go/test@v0 + if: ${{ !inputs.SKIP_TESTS }} env: DB_HOST: ${{ inputs.DB_HOST }} DB_USER: ${{ inputs.DB_USER }}