|
76 | 76 | # are not available as wheels, pip will build a wheel for them, which can be cached. |
77 | 77 | - name: Install wheel |
78 | 78 | run: pip install wheel |
| 79 | + - name: Update galaxy packages to match tested Galaxy version |
| 80 | + run: | |
| 81 | + base="git+https://github.com/${{ env.GALAXY_FORK }}/galaxy.git@${{ env.GALAXY_BRANCH }}#subdirectory=packages" |
| 82 | + pip install --reinstall "$base/util" "$base/tool_util_models" "$base/tool_util" |
79 | 83 | - name: Install flake8 |
80 | 84 | run: pip install flake8 flake8-import-order |
81 | 85 | - uses: actions/checkout@v5 |
@@ -124,7 +128,10 @@ jobs: |
124 | 128 | with: |
125 | 129 | path: ~/.cache/pip |
126 | 130 | key: pip_cache_py_${{ matrix.python-version }}_gxy_${{ needs.setup.outputs.galaxy-head-sha }} |
127 | | - |
| 131 | + - name: Update galaxy packages to match tested Galaxy version |
| 132 | + run: | |
| 133 | + base="git+https://github.com/${{ env.GALAXY_FORK }}/galaxy.git@${{ env.GALAXY_BRANCH }}#subdirectory=packages" |
| 134 | + pip install --reinstall "$base/util" "$base/tool_util_models" "$base/tool_util" |
128 | 135 | - name: Set skip version check for push event (i.e. merge to main) |
129 | 136 | if: ${{ github.event_name != 'pull_request' }} |
130 | 137 | run: |
@@ -282,6 +289,10 @@ jobs: |
282 | 289 | with: |
283 | 290 | path: ~/.cache/pip |
284 | 291 | key: pip_cache_py_${{ matrix.python-version }}_gxy_${{ needs.setup.outputs.galaxy-head-sha }} |
| 292 | + - name: Update galaxy packages to match tested Galaxy version |
| 293 | + run: | |
| 294 | + base="git+https://github.com/${{ env.GALAXY_FORK }}/galaxy.git@${{ env.GALAXY_BRANCH }}#subdirectory=packages" |
| 295 | + pip install --reinstall "$base/util" "$base/tool_util_models" "$base/tool_util" |
285 | 296 | - name: Cache .planemo |
286 | 297 | uses: actions/cache@v4 |
287 | 298 | id: cache-planemo |
@@ -337,6 +348,10 @@ jobs: |
337 | 348 | with: |
338 | 349 | path: ~/.cache/pip |
339 | 350 | key: pip_cache_py_${{ matrix.python-version }}_gxy_${{ needs.setup.outputs.galaxy-head-sha }} |
| 351 | + - name: Update galaxy packages to match tested Galaxy version |
| 352 | + run: | |
| 353 | + base="git+https://github.com/${{ env.GALAXY_FORK }}/galaxy.git@${{ env.GALAXY_BRANCH }}#subdirectory=packages" |
| 354 | + pip install --reinstall "$base/util" "$base/tool_util_models" "$base/tool_util" |
340 | 355 | - name: Combine outputs |
341 | 356 | uses: galaxyproject/planemo-ci-action@v1 |
342 | 357 | id: combine |
@@ -384,6 +399,10 @@ jobs: |
384 | 399 | with: |
385 | 400 | path: ~/.cache/pip |
386 | 401 | key: pip_cache_py_${{ matrix.python-version }}_gxy_${{ needs.setup.outputs.galaxy-head-sha }} |
| 402 | + - name: Update galaxy packages to match tested Galaxy version |
| 403 | + run: | |
| 404 | + base="git+https://github.com/${{ env.GALAXY_FORK }}/galaxy.git@${{ env.GALAXY_BRANCH }}#subdirectory=packages" |
| 405 | + pip install --reinstall "$base/util" "$base/tool_util_models" "$base/tool_util" |
387 | 406 | - name: Deploy on testtoolshed |
388 | 407 | uses: galaxyproject/planemo-ci-action@v1 |
389 | 408 | with: |
|
0 commit comments