Skip to content
This repository has been archived by the owner on Dec 16, 2022. It is now read-only.

Separate linting from formatting in CI, always run all steps of workflow #4202

Merged
merged 1 commit into from
May 7, 2020

Conversation

epwalsh
Copy link
Member

@epwalsh epwalsh commented May 6, 2020

I think it's more clear if we separate flake8 linting from black formatting into two separate steps of the CI workflow. This also ensures all steps of the "Check Core" workflow run even if one fails.

@epwalsh epwalsh requested a review from dirkgr May 6, 2020 17:06
@@ -62,15 +62,23 @@ jobs:
run: |
pip freeze

- name: Format
if: always()
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do you have to say that?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So that even if one step fails, the others will be still be ran

@epwalsh epwalsh merged commit 743d2d8 into allenai:master May 7, 2020
@epwalsh epwalsh deleted the separate-lint-and-format branch May 7, 2020 20:54
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants