-
Notifications
You must be signed in to change notification settings - Fork 70
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 #149
GitHub actions #149
Conversation
Per-tool test data has become the norm then, fair enough. We might be able to use separate folders, I forget now how much reuse there was between tools. The symlinks used here is pragmatic. |
Is there any reason to use |
I'll try to look at this properly during the week, Tuesday at the earliest. Thank you! I had very quick playing with the flake8 changes locally, there are a bunch of things Also it looks like it would be easy to extend the initial actions to include all the flake8 plugins I was using on Travis,
And while I'm sure it should be simple to add |
No :)
The good thing is that python linting (like all linting jobs) only run for PRs. So this should nt create any noise and may be fixed step by step with the PRs that come in .. but might be an annoyance for potential contributors.
Should be easy. I guess this might be also an addition that we can play back to the IUC. |
How about having something like a galaxy_blast/.github/workflows/pr.yaml Line 150 in 856062d
|
The I was initially thinking Galaxy tool repositories currently just copy the https://github.com/galaxyproject/galaxy-tool-repository-template template github action configuration, and then extend bits like adding to the Would it be a big job to create a dedicated GitHub action for linting/testing Galaxy tools? I have no idea how much work that would be... |
Merged, thank you! Watching the first run now... https://github.com/peterjc/galaxy_blast/actions/runs/3629223291/jobs/6121165190 |
As of #149, each tool has its own test-data/ folder (currently a symlink to the top level shared folder). This means the manifest no longer needs to point at the top level folder. $ sed -i.bak "s#../../test-data/#test-data/#g" tools/*/.shed.yml
Did you define the secrets TS_API_KEY and TTS_API_KEY?
This is (kind of) what galaxyproject/tools-iuc#4830 will do. It will make the IUC workflows callable. Then other repos can reuse the IUC workflows. |
To use the slash command you need to setup a personal access token. A bit of docs is here: https://github.com/bernt-matthias/galaxy-tool-repository-template#setup |
No keys set yet, but it isn't getting that far anyway:
And:
Update: That says:
i.e. A real issue to address in the wrapper, perhaps an NCBI change, perhaps something we missed with the loss of TravisCI. |
You need to do that before merging the first PR. Otherwise the updated/fixed tools won't be deployed .. and you probably do not want to deploy them manually. I would also suggest not to push to master directly. |
Cross reference galaxyproject/galaxy-tool-repository-template#12 - automated deployment to the main tool shed certainly does argue against pushing to master. I assume you'd expect pull requests to include tool version bumps? |
Indeed. Currently there is unfortunately no automatic check for this. At the IUC we sometimes make exceptions to bumping basically only if only the |
Fixed the warning from deltablast, need to understand the actual error still:
I can reproduce this locally:
|
Got it, this was previously being excluded via
|
As of #149, each tool has its own test-data/ folder (currently a symlink to the top level shared folder). This means the manifest no longer needs to point at the top level folder. $ sed -i.bak "s#../../test-data/#test-data/#g" tools/*/.shed.yml
As of #149, each tool has its own test-data/ folder (currently a symlink to the top level shared folder). This means the manifest no longer needs to point at the top level folder. $ sed -i.bak "s#../../test-data/#test-data/#g" tools/*/.shed.yml
Hi @peterjc it's about time to switch this repo to github actions :) .. fixes #140
I tested the PR workflow in a mock PR to my fork: bernt-matthias#2
The CI workflow has been tested using the slash command bernt-matthias#1 .. you can see the result listed here https://github.com/bernt-matthias/galaxy_blast/actions