Skip to content

Commit

Permalink
pin planemo
Browse files Browse the repository at this point in the history
As a workaround for:

```
AttributeError: 'CondaTarget' object has no attribute 'package_name'
```

and install planemo in PR job
  • Loading branch information
bernt-matthias committed Jan 29, 2024
1 parent ac98dd7 commit 0b6c4e1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 11 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/monitor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ on:
- cron: "0 0 * * *"
env:
GITHUB_USER: dockerhub-toolshed
PLANEMO_VERSION: planemo=0.75.18
jobs:
monitor:
name: Run planemo monitor
Expand All @@ -24,6 +25,8 @@ jobs:
- uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
- name: Install planemo
run: pip install PyGithub ${{ env.PLANEMO_VERSION }}
- name: Set github user
run: |
git config --global user.email "[email protected]"
Expand Down
11 changes: 0 additions & 11 deletions monitor.sh
Original file line number Diff line number Diff line change
@@ -1,16 +1,5 @@
#!/bin/bash

: ${PLANEMO_TARGET:="planemo==0.74.19"}

if [ ! -f .venv ]; then
python -m venv .venv
. .venv/bin/activate
pip install -U pip
pip install PyGithub
git clone --recursive https://github.com/galaxyproject/planemo && pip install planemo/
# pip install "$PLANEMO_TARGET"
fi

planemo conda_init

sort -R $1 | while read repository
Expand Down

0 comments on commit 0b6c4e1

Please sign in to comment.