Revert "Added 'allow_failure' option for StaticTypeCheck job."

This reverts commit 6d94f6f471.
This commit is contained in:
umarcor
2021-12-16 07:39:51 +01:00
parent 72b869a6fc
commit 0cf056b6fe
2 changed files with 3 additions and 8 deletions

View File

@@ -36,7 +36,7 @@ on:
default: '3.6 3.7 3.8 3.9 3.10' default: '3.6 3.7 3.8 3.9 3.10'
type: string type: string
name: name:
description: 'Name of the tool/package.' description: 'Name of the tool.'
required: true required: true
type: string type: string
outputs: outputs:

View File

@@ -44,11 +44,6 @@ on:
description: 'Commands to run the static type checks.' description: 'Commands to run the static type checks.'
required: true required: true
type: string type: string
allow_failure:
description: 'Allow a type checking to be failing without failing the overall workflow.'
required: false
default: false
type: boolean
artifact: artifact:
description: 'Name of the typing artifact.' description: 'Name of the typing artifact.'
required: true required: true
@@ -75,12 +70,12 @@ jobs:
python -m pip install ${{ inputs.requirements }} python -m pip install ${{ inputs.requirements }}
- name: Check Static Typing - name: Check Static Typing
continue-on-error: ${{ inputs.allow_failure }} continue-on-error: true
run: ${{ inputs.commands }} run: ${{ inputs.commands }}
- name: 📤 Upload 'Static Typing Report' artifact - name: 📤 Upload 'Static Typing Report' artifact
if: ${{ inputs.artifact != '' }} if: ${{ inputs.artifact != '' }}
continue-on-error: ${{ inputs.allow_failure }} continue-on-error: true
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v2
with: with:
name: ${{ inputs.artifact }} name: ${{ inputs.artifact }}