Skip to content

Commit

Permalink
Merge pull request #1557 from ersilia-os/hotfix-workflow-error
Browse files Browse the repository at this point in the history
workflow fox
  • Loading branch information
GemmaTuron authored Feb 20, 2025
2 parents 9517df0 + b6a6610 commit 9308599
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 12 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/tests_and_cleanup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,11 @@ jobs:
python-version: ${{ matrix.python-version }}
- name: Install Ersilia
run: |
python -m pip install git+https://github.com/ersilia-os/bentoml-ersilia.git
python -m pip install -e .
- name: Test help command
run: |
ersilia --help
ersilia --version
echo | ersilia --help
echo | ersilia --version
test-docker:
strategy:
Expand All @@ -45,8 +44,8 @@ jobs:
python -m pip install -e .
- name: Test help command again
run: |
ersilia --help
ersilia --version
echo | ersilia --help
echo | ersilia --version
- name: Fetch molecular weight model from DockerHub
run: |
ersilia -v fetch molecular-weight --from_dockerhub
Expand Down
10 changes: 4 additions & 6 deletions ersilia/setup/requirements/setuptools_req.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
import importlib
import subprocess
import sys

from ...utils.terminal import run_command


def verify_setuptools():
try:
importlib.import_module("setuptools")
except ModuleNotFoundError:
cmd = f"{sys.executable} -m pip install setuptools"
result = subprocess.Popen(cmd, shell=True).wait()
if result != 0:
raise RuntimeError("Failed to install setuptools.")
cmd = "python -m pip install setuptools"
run_command(cmd)
1 change: 0 additions & 1 deletion test/playground/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ models:
- eos5axz
- eos4e40
- eos2r5a
- eos4zfy
- eos8fma

runtime:
Expand Down

0 comments on commit 9308599

Please sign in to comment.