Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GitHub actions fix #385

Draft
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

chelloiaco
Copy link
Contributor

Description of Changes

I noticed that the reason why the actions were failing was due to the fact that flask8 was looking for a folder python, which perhaps existed at some point but does not anymore. Same with Radon.

In the effort to have the actions be useful again, I added some functionality to the test to run only on Python files that have been changed (Added, Copied, Modified, Renamed). Additionally, I removed the --exit-zero argument from flask8 so we actually get a fail if the code does not meet the standards.

Let me know what you think.

Testing Done

I have tested this by temporarily adding the branch name into the branches candidates on the code_quality.yml file as seen on the commits history for this PR.

@miquelcampos
Copy link
Member

Hi @chelloiaco Thanks for the PR. I will check it ASAP

@miquelcampos miquelcampos self-requested a review February 13, 2024 00:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: To Do
Development

Successfully merging this pull request may close these issues.

2 participants