Skip to content

Commit c101a3e

Browse files
Merge branch 'main' into lint-iedb_api
2 parents 4a1e9f1 + f78b4c5 commit c101a3e

File tree

4,075 files changed

+535482
-171408
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

4,075 files changed

+535482
-171408
lines changed

.github/dependabot.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# To get started with Dependabot version updates, you'll need to specify which
2+
# package ecosystems to update and where the package manifests are located.
3+
# Please see the documentation for all configuration options:
4+
# https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file
5+
6+
version: 2
7+
updates:
8+
# Enable version updates for GitHub Actions
9+
- package-ecosystem: "github-actions"
10+
directory: "/"
11+
schedule:
12+
interval: "weekly"

.github/workflows/ci.yaml

Lines changed: 19 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
types: [run-all-tool-tests-command]
88
env:
99
GALAXY_FORK: galaxyproject
10-
GALAXY_BRANCH: release_24.1
10+
GALAXY_BRANCH: release_25.1
1111
MAX_CHUNKS: 40
1212
jobs:
1313
setup:
@@ -27,7 +27,7 @@ jobs:
2727
steps:
2828
- name: Add reaction
2929
if: ${{ github.event.client_payload.slash_command.command == 'run-all-tool-tests' }}
30-
uses: peter-evans/create-or-update-comment@v4
30+
uses: peter-evans/create-or-update-comment@v5
3131
with:
3232
token: ${{ secrets.PAT }}
3333
repository: ${{ github.event.client_payload.github.payload.repository.full_name }}
@@ -43,7 +43,7 @@ jobs:
4343
- name: Determine latest commit in the Galaxy repo
4444
id: get-galaxy-sha
4545
run: echo "galaxy-head-sha=$(git ls-remote https://github.com/${{ steps.get-fork-branch.outputs.fork }}/galaxy refs/heads/${{ steps.get-fork-branch.outputs.branch }} | cut -f1)" >> $GITHUB_OUTPUT
46-
- uses: actions/setup-python@v5
46+
- uses: actions/setup-python@v6
4747
with:
4848
python-version: ${{ matrix.python-version }}
4949
- name: Cache .cache/pip
@@ -56,9 +56,9 @@ jobs:
5656
# are not available as wheels, pip will build a wheel for them, which can be cached.
5757
- name: Install wheel
5858
run: pip install wheel
59-
- uses: actions/checkout@v4
59+
- uses: actions/checkout@v5
6060
with:
61-
fetch-depth: 1
61+
persist-credentials: false
6262
- name: Fake a Planemo run to update cache and determine commit range, repositories, and chunks
6363
uses: galaxyproject/planemo-ci-action@v1
6464
id: discover
@@ -84,10 +84,10 @@ jobs:
8484
matrix:
8585
python-version: ['3.11']
8686
steps:
87-
- uses: actions/checkout@v4
87+
- uses: actions/checkout@v5
8888
with:
89-
fetch-depth: 1
90-
- uses: actions/setup-python@v5
89+
persist-credentials: false
90+
- uses: actions/setup-python@v6
9191
with:
9292
python-version: ${{ matrix.python-version }}
9393
- name: Cache .cache/pip
@@ -104,8 +104,8 @@ jobs:
104104
fail-level: warn
105105
repository-list: ${{ needs.setup.outputs.repository-list }}
106106
tool-list: ${{ needs.setup.outputs.tool-list }}
107-
additional-planemo-options: --biocontainers
108-
- uses: actions/upload-artifact@v4
107+
additional-planemo-options: --biocontainers --skip version_bumped
108+
- uses: actions/upload-artifact@v5
109109
if: ${{ failure() }}
110110
with:
111111
name: 'Tool linting output'
@@ -132,12 +132,10 @@ jobs:
132132
ports:
133133
- 5432:5432
134134
steps:
135-
# checkout the repository
136-
# and use it as the current working directory
137-
- uses: actions/checkout@v4
135+
- uses: actions/checkout@v5
138136
with:
139-
fetch-depth: 1
140-
- uses: actions/setup-python@v5
137+
persist-credentials: false
138+
- uses: actions/setup-python@v6
141139
with:
142140
python-version: ${{ matrix.python-version }}
143141
- name: Cache .cache/pip
@@ -164,7 +162,7 @@ jobs:
164162
galaxy-slots: ${{ steps.cpu-cores.outputs.count }}
165163
# Limit each test to 15 minutes
166164
test_timeout: 900
167-
- uses: actions/upload-artifact@v4
165+
- uses: actions/upload-artifact@v5
168166
with:
169167
name: 'Tool test output ${{ matrix.chunk }}'
170168
path: upload
@@ -183,10 +181,10 @@ jobs:
183181
# This job runs on Linux
184182
runs-on: ubuntu-latest
185183
steps:
186-
- uses: actions/download-artifact@v4
184+
- uses: actions/download-artifact@v6
187185
with:
188186
path: artifacts
189-
- uses: actions/setup-python@v5
187+
- uses: actions/setup-python@v6
190188
with:
191189
python-version: ${{ matrix.python-version }}
192190
- name: Cache .cache/pip
@@ -201,7 +199,8 @@ jobs:
201199
with:
202200
mode: combine
203201
html-report: true
204-
- uses: actions/upload-artifact@v4
202+
markdown-report: true
203+
- uses: actions/upload-artifact@v5
205204
with:
206205
name: 'All tool test results'
207206
path: upload
@@ -213,7 +212,7 @@ jobs:
213212

214213
- name: Create comment
215214
if: ${{ github.event.client_payload.slash_command.command == 'run-all-tool-tests' }}
216-
uses: peter-evans/create-or-update-comment@v4
215+
uses: peter-evans/create-or-update-comment@v5
217216
with:
218217
token: ${{ secrets.PAT }}
219218
repository: ${{ github.event.client_payload.github.payload.repository.full_name }}

.github/workflows/pr.yaml

Lines changed: 46 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ on:
1515
- '*'
1616
env:
1717
GALAXY_FORK: galaxyproject
18-
GALAXY_BRANCH: release_24.1
18+
GALAXY_BRANCH: release_25.1
1919
MAX_CHUNKS: 4
2020
MAX_FILE_SIZE: 1M
2121
concurrency:
@@ -57,7 +57,7 @@ jobs:
5757
- name: Determine latest commit in the Galaxy repo
5858
id: get-galaxy-sha
5959
run: echo "galaxy-head-sha=$(git ls-remote https://github.com/${{ env.GALAXY_FORK }}/galaxy refs/heads/${{ env.GALAXY_BRANCH }} | cut -f1)" >> $GITHUB_OUTPUT
60-
- uses: actions/setup-python@v5
60+
- uses: actions/setup-python@v6
6161
with:
6262
python-version: ${{ matrix.python-version }}
6363
- name: Cache .cache/pip
@@ -78,9 +78,10 @@ jobs:
7878
run: pip install wheel
7979
- name: Install flake8
8080
run: pip install flake8 flake8-import-order
81-
- uses: actions/checkout@v4
81+
- uses: actions/checkout@v5
8282
with:
8383
fetch-depth: 0
84+
persist-credentials: false
8485
- name: Fake a Planemo run to update cache and determine commit range, repositories, and chunks
8586
uses: galaxyproject/planemo-ci-action@v1
8687
id: discover
@@ -111,10 +112,10 @@ jobs:
111112
matrix:
112113
python-version: ['3.11']
113114
steps:
114-
- uses: actions/checkout@v4
115+
- uses: actions/checkout@v5
115116
with:
116-
fetch-depth: 1
117-
- uses: actions/setup-python@v5
117+
persist-credentials: false
118+
- uses: actions/setup-python@v6
118119
with:
119120
python-version: ${{ matrix.python-version }}
120121
- name: Cache .cache/pip
@@ -123,6 +124,15 @@ jobs:
123124
with:
124125
path: ~/.cache/pip
125126
key: pip_cache_py_${{ matrix.python-version }}_gxy_${{ needs.setup.outputs.galaxy-head-sha }}
127+
128+
- name: Set skip version check for push event (i.e. merge to main)
129+
if: ${{ github.event_name != 'pull_request' }}
130+
run:
131+
echo "EXTRA_SKIP=--skip version_bumped" >> "$GITHUB_ENV"
132+
- name: Set no skip vor pull_request events
133+
if: ${{ github.event_name == 'pull_request' }}
134+
run:
135+
echo "EXTRA_SKIP=" >> "$GITHUB_ENV"
126136
- name: Planemo lint
127137
uses: galaxyproject/planemo-ci-action@v1
128138
id: lint
@@ -131,7 +141,8 @@ jobs:
131141
fail-level: warn
132142
repository-list: ${{ needs.setup.outputs.repository-list }}
133143
tool-list: ${{ needs.setup.outputs.tool-list }}
134-
- uses: actions/upload-artifact@v4
144+
additional-planemo-options: ${{ env.EXTRA_SKIP }}
145+
- uses: actions/upload-artifact@v5
135146
if: ${{ failure() }}
136147
with:
137148
name: 'Tool linting output'
@@ -148,10 +159,10 @@ jobs:
148159
matrix:
149160
python-version: ['3.11']
150161
steps:
151-
- uses: actions/checkout@v4
162+
- uses: actions/checkout@v5
152163
with:
153-
fetch-depth: 1
154-
- uses: actions/setup-python@v5
164+
persist-credentials: false
165+
- uses: actions/setup-python@v6
155166
with:
156167
python-version: ${{ matrix.python-version }}
157168
- name: Cache .cache/pip
@@ -164,7 +175,7 @@ jobs:
164175
run: pip install flake8 flake8-import-order
165176
- name: Flake8
166177
run: echo '${{ needs.setup.outputs.repository-list }}' | xargs -d '\n' flake8 --output-file pylint_report.txt --tee
167-
- uses: actions/upload-artifact@v4
178+
- uses: actions/upload-artifact@v5
168179
if: ${{ failure() }}
169180
with:
170181
name: 'Python linting output'
@@ -177,12 +188,12 @@ jobs:
177188
runs-on: ${{ matrix.os }}
178189
strategy:
179190
matrix:
180-
os: [ubuntu-20.04]
191+
os: [ubuntu-24.04]
181192
r-version: ['release']
182193
steps:
183-
- uses: actions/checkout@v4
194+
- uses: actions/checkout@v5
184195
with:
185-
fetch-depth: 1
196+
persist-credentials: false
186197
- uses: r-lib/actions/setup-r@v2
187198
with:
188199
r-version: ${{ matrix.r-version }}
@@ -203,7 +214,7 @@ jobs:
203214
echo '${{ needs.setup.outputs.repository-list }}' | xargs -d '\n' -n 1 ./.github/styler.R --dry off
204215
git status
205216
git diff --exit-code | tee rlint_report.txt
206-
- uses: actions/upload-artifact@v4
217+
- uses: actions/upload-artifact@v5
207218
if: ${{ failure() }}
208219
with:
209220
name: 'R linting output'
@@ -215,9 +226,10 @@ jobs:
215226
if: ${{ github.event_name == 'pull_request' && needs.setup.outputs.repository-list != '' }}
216227
runs-on: ubuntu-latest
217228
steps:
218-
- uses: actions/checkout@v4
229+
- uses: actions/checkout@v5
219230
with:
220231
fetch-depth: 0
232+
persist-credentials: false
221233
- name: Check file sizes
222234
run: |
223235
touch file_size_report.txt
@@ -230,7 +242,7 @@ jobs:
230242
cat file_size_report.txt
231243
exit 1
232244
fi
233-
- uses: actions/upload-artifact@v4
245+
- uses: actions/upload-artifact@v5
234246
if: ${{ failure() }}
235247
with:
236248
name: 'File size report'
@@ -258,10 +270,10 @@ jobs:
258270
ports:
259271
- 5432:5432
260272
steps:
261-
- uses: actions/checkout@v4
273+
- uses: actions/checkout@v5
262274
with:
263-
fetch-depth: 1
264-
- uses: actions/setup-python@v5
275+
persist-credentials: false
276+
- uses: actions/setup-python@v6
265277
with:
266278
python-version: ${{ matrix.python-version }}
267279
- name: Cache .cache/pip
@@ -293,8 +305,8 @@ jobs:
293305
chunk-count: ${{ needs.setup.outputs.chunk-count }}
294306
galaxy-slots: ${{ steps.cpu-cores.outputs.count }}
295307
# Limit each test to 15 minutes
296-
test_timeout: 1800
297-
- uses: actions/upload-artifact@v4
308+
test_timeout: 900
309+
- uses: actions/upload-artifact@v5
298310
with:
299311
name: 'Tool test output ${{ matrix.chunk }}'
300312
path: upload
@@ -313,10 +325,10 @@ jobs:
313325
matrix:
314326
python-version: ['3.11']
315327
steps:
316-
- uses: actions/download-artifact@v4
328+
- uses: actions/download-artifact@v6
317329
with:
318330
path: artifacts
319-
- uses: actions/setup-python@v5
331+
- uses: actions/setup-python@v6
320332
with:
321333
python-version: ${{ matrix.python-version }}
322334
- name: Cache .cache/pip
@@ -332,7 +344,7 @@ jobs:
332344
mode: combine
333345
html-report: true
334346
markdown-report: true
335-
- uses: actions/upload-artifact@v4
347+
- uses: actions/upload-artifact@v5
336348
with:
337349
name: 'All tool test results'
338350
path: upload
@@ -344,7 +356,8 @@ jobs:
344356
mode: check
345357
- name: Check if all test chunks succeeded
346358
run: |
347-
NFILES=$(ls artifacts/ | grep "Tool test output" | wc -l)
359+
ls artifacts/
360+
NFILES=$(find artifacts/ -name "tool_test_output.json" | wc -l)
348361
if [[ "${{ needs.setup.outputs.chunk-count }}" != "$NFILES" ]]; then
349362
exit 1
350363
fi
@@ -359,10 +372,10 @@ jobs:
359372
matrix:
360373
python-version: ['3.11']
361374
steps:
362-
- uses: actions/checkout@v4
375+
- uses: actions/checkout@v5
363376
with:
364-
fetch-depth: 1
365-
- uses: actions/setup-python@v5
377+
persist-credentials: false
378+
- uses: actions/setup-python@v6
366379
with:
367380
python-version: ${{ matrix.python-version }}
368381
- name: Cache .cache/pip
@@ -390,22 +403,22 @@ jobs:
390403
deploy-report:
391404
name: Report deploy status
392405
needs: [deploy]
393-
if: ${{ always() && needs.deploy.result != 'success' && (github.ref == 'refs/heads/master' || github.ref == 'refs/heads/main' ) && github.repository_owner == 'galaxyproject' }}
406+
if: ${{ always() && (github.ref == 'refs/heads/master' || github.ref == 'refs/heads/main' ) && github.repository_owner == 'galaxyproject' }}
394407
runs-on: ubuntu-latest
395408
steps:
396409
# report to the PR if deployment failed
397410
- name: Get PR object
398-
uses: 8BitJonny/gh-get-current-pr@2.2.0
411+
uses: 8BitJonny/gh-get-current-pr@4.0.0
399412
id: getpr
400413
with:
401414
sha: ${{ github.event.after }}
402415
- name: Create comment
403-
uses: peter-evans/create-or-update-comment@v4
416+
uses: peter-evans/create-or-update-comment@v5
404417
with:
405418
token: ${{ secrets.PAT }}
406419
issue-number: ${{ steps.getpr.outputs.number }}
407420
body: |
408-
Attention: deployment ${{ needs.deploy.result }}!
421+
Deployment status: **${{ needs.deploy.result }}**
409422
410423
https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}
411424

.github/workflows/slash.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
steps:
99
- name: Slash Command Dispatch
1010
if: github.repository_owner == 'galaxyproject'
11-
uses: peter-evans/slash-command-dispatch@v4
11+
uses: peter-evans/slash-command-dispatch@v5
1212
with:
1313
token: ${{ secrets.PAT }}
1414
commands: |

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ These repositories are maintained and developed by the [Intergalactic Utilities
1313

1414
Pull Requests with dependencies specified as conda-package will be automatically tested and verified using [planemo](https://github.com/galaxyproject/planemo). If the tests pass and the pull request is merged, the tool will be automatically uploaded to the [Test](http://testtoolshed.g2.bx.psu.edu/)- and [Main Tool Shed](http://toolshed.g2.bx.psu.edu/).
1515

16-
Other repositories with Galaxy tools:
16+
## Other repositories with Galaxy tools
17+
1718
* [Björn Grüning repo](https://github.com/bgruening/galaxytools)
1819
* [Galaxy devteam repo](https://github.com/galaxyproject/tools-devteam)
1920
* Peter Cock's repos:

0 commit comments

Comments
 (0)