Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 10 additions & 4 deletions python-lint/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,12 @@ inputs:
description: "The version of Poetry to use"
required: true

continue-on-error:
type: boolean
description: "Continue on error"
required: false
default: true

runs:
using: "composite"

Expand Down Expand Up @@ -43,20 +49,20 @@ runs:

- name: Run Black
run: poetry run black --check .
continue-on-error: true #Added so to provide lineance while lint
continue-on-error: ${{ inputs.continue-on-error }} #Added so to provide lineance while lint
shell: bash

- name: Run Flake8
run: poetry run flake8 .
continue-on-error: true #Added so to provide lineance while lint
continue-on-error: ${{ inputs.continue-on-error }} #Added so to provide lineance while lint
shell: bash

- name: Run isort
run: poetry run isort --check .
continue-on-error: true #Added so to provide lineance while lint
continue-on-error: ${{ inputs.continue-on-error }} #Added so to provide lineance while lint
shell: bash

- name: Run mypy
run: poetry run mypy .
continue-on-error: true #Added so to provide lineance while lint
continue-on-error: ${{ inputs.continue-on-error }} #Added so to provide lineance while lint
shell: bash
7 changes: 6 additions & 1 deletion python-test/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@ inputs:
poetry-version:
description: "The version of Poetry to install"
required: true
continue-on-error:
type: boolean
description: "Continue on error"
required: false
default: true

runs:
using: "composite"
Expand Down Expand Up @@ -46,5 +51,5 @@ runs:

- name: Run Test
run: poetry run pytest
continue-on-error: true
continue-on-error: ${{ inputs.continue-on-error }}
shell: bash