Closed miraep8 closed 10 months ago
I suspect that the issue with the Full Integration Test failure is because the stable snakemake image it is trying to use to run the tests is using a version of snakemake (ie > 7.31.1) that breaks our code. I can update that to point to a more appropriate image. Will take a closer look into why the linter is failing tomorrow! (and can hopefully resolve both simultaneously)
Aha, so good news, setting the smakemake docker image back to version 7.31.1 fixes the integration issues :). Now on to the linter! I suspect this might have something to do with how I am doing my PR.
@funnell and @nickp60 this PR is now ready for whenever you get a chance to review the changes. In addition to the changes to the README.md I also had to update the two GitHub actions that run on the pull request in order to get this to work. These changes were:
As always happy to make any changes you request! Cheers!
Thank you so much for doing this @miraep8 this is very helpful 👍
This is great! What does the fetch-depth
setting do for us here in the action yaml?
From my understanding of it the fetch depth = 0 command tells the checkout action to get the commits for all branches and tags. For whatever reason, without this argument the linter runs into a "branch not found" error, I suppose because it has not been supplied with the information related to my PR from the git checkout action. If you check out the documentation for the super linter it actually recommends using this argument for the git checkout action (see below). As to why this was an issue for this PR and not PRs you have made in the past.... I am guessing that it was because I forked the repo and made the PR from there? I noticed I am the only one to have forked the repo so I am guessing that you guys must make your PRs in a more direct way such that the checkout action default was able to grab sufficient information for the super linter to run?
(more specifically if you are curious, this is the issue that the linter raises without the fetch-depth= 0 switch):
Cool cool; thanks for troubleshooting that!
Hey all, I added a few of the issues I ran into getting the pipeline working to the README.md to (hopefully) smooth the process for new users in the future!
Happy to continue to make changes to this before merging, let me know what you think and/or would like me to change and/or add!
Cheers!