You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Awesome CI Workflow Code formater: "2 files are not in one and only one directory" but they are in separate branches. #898
changed the title [-]Hey @Panquesito7 @kvedala,[/-][+]Awesome CI Workflow Code formater: "2 files are not in one and only one directory" but they are in separate branches.[/+]on Oct 22, 2021
nodir_files = [file forfilein cpp_files if file.count(os.sep) != 1 and "project_euler" not in file and "data_structure" not in file]
if nodir_files:
print(f"{len(nodir_files)} files are not in one and only one directory:")
print("\n".join(nodir_files) + "\n")
In former version of .github/workflows/awesome_workflow.yml commits were permitted to present multiple solutions at one time. PR #901 reuse that piece of code. So to give alternative solution to this issue.
Activity
[-]Hey @Panquesito7 @kvedala,[/-][+]Awesome CI Workflow Code formater: "2 files are not in one and only one directory" but they are in separate branches.[/+]straight-into-the-wall commentedon Oct 24, 2021
Now there is only one modified file, but the issue remains the same.

Panquesito7 commentedon Oct 24, 2021
@ayaankhan98, @mishraabhinn, thoughts?
straight-into-the-wall commentedon Oct 24, 2021
Maybe is because I've 2 different PR affecting one folder? (Seems unlikely too me but I've no other clues)
#896
#897
straight-into-the-wall commentedon Oct 24, 2021
the failing check code is there:
Panquesito7 commentedon Oct 24, 2021
Don't think so, that shouldn't happen. The Leetcode folder is known for having CI issues, AFAIK.
debugging for TheAlgorithms#898
debug TheAlgorithms#898 take 2
debug for TheAlgorithms#898 take 3
gebug for TheAlgorithms#898 take 4
degub TheAlgorithms#898 take five
debug for TheAlgorithms#898 take 6
fix: TheAlgorithms#898 awesome-workflow: 1 files are not in one and o…
straight-into-the-wall commentedon Oct 25, 2021
I found that Awesome workflow was counting the length of the modified file list in the number of undesired files.
I proposed a solution in PR #900.
debug TheAlgorithms#898 revert to commit 2c86fbb
fix: TheAlgorithms#898 revert the nodir_files check version prior 2c8…
straight-into-the-wall commentedon Oct 25, 2021
In former version of .github/workflows/awesome_workflow.yml commits were permitted to present multiple solutions at one time. PR #901 reuse that piece of code. So to give alternative solution to this issue.
fix: #898 Awesome workflow (1 files are not in one and only one direc…
fix: #898 another fix for Awesome workflow nodir_files problem (#901)
Revert "fix: #898 another fix for Awesome workflow nodir_files problem (
Revert "fix: #898 another fix for Awesome workflow nodir_files problem (