Skip to content

Commit 9588dc2

Browse files
committed
Use --force-reinstall for galaxy package installations in CI workflow
1 parent 4996edc commit 9588dc2

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/pr.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ jobs:
7979
- name: Update galaxy packages to match tested Galaxy version
8080
run: |
8181
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"
82+
pip install --force-reinstall "$base/util" "$base/tool_util_models" "$base/tool_util"
8383
- name: Install flake8
8484
run: pip install flake8 flake8-import-order
8585
- uses: actions/checkout@v5
@@ -131,7 +131,7 @@ jobs:
131131
- name: Update galaxy packages to match tested Galaxy version
132132
run: |
133133
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"
134+
pip install --force-reinstall "$base/util" "$base/tool_util_models" "$base/tool_util"
135135
- name: Set skip version check for push event (i.e. merge to main)
136136
if: ${{ github.event_name != 'pull_request' }}
137137
run:
@@ -292,7 +292,7 @@ jobs:
292292
- name: Update galaxy packages to match tested Galaxy version
293293
run: |
294294
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"
295+
pip install --force-reinstall "$base/util" "$base/tool_util_models" "$base/tool_util"
296296
- name: Cache .planemo
297297
uses: actions/cache@v4
298298
id: cache-planemo
@@ -351,7 +351,7 @@ jobs:
351351
- name: Update galaxy packages to match tested Galaxy version
352352
run: |
353353
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"
354+
pip install --force-reinstall "$base/util" "$base/tool_util_models" "$base/tool_util"
355355
- name: Combine outputs
356356
uses: galaxyproject/planemo-ci-action@v1
357357
id: combine
@@ -402,7 +402,7 @@ jobs:
402402
- name: Update galaxy packages to match tested Galaxy version
403403
run: |
404404
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"
405+
pip install --force-reinstall "$base/util" "$base/tool_util_models" "$base/tool_util"
406406
- name: Deploy on testtoolshed
407407
uses: galaxyproject/planemo-ci-action@v1
408408
with:

0 commit comments

Comments
 (0)