Skip to content

Commit

Permalink
Change to include updated example command in workflows (#78)
Browse files Browse the repository at this point in the history
  • Loading branch information
DhanshreeA committed Dec 10, 2024
1 parent e5753b6 commit 69970b7
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/post-model-upload.yml
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,8 @@ jobs:
run: |
source activate
wget https://raw.githubusercontent.com/ersilia-os/ersilia/master/.github/scripts/convert_airtable_to_json.py
pip install boto3, requests, pyairtable
python .github/scripts/convert_airtable_to_json.py $AIRTABLE_API_KEY $AWS_ACCESS_KEY_ID $AWS_SECRET_ACCESS_KEY
pip install boto3 requests pyairtable
python convert_airtable_to_json.py $AIRTABLE_API_KEY $AWS_ACCESS_KEY_ID $AWS_SECRET_ACCESS_KEY
rm convert_airtable_to_json.py
- name: Update README file
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-model-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ jobs:
echo "Sample model id selected: $MODEL_ID"
ersilia -v fetch $MODEL_ID --from_dir .
ersilia -v serve $MODEL_ID
ersilia example -n 5 -f input.csv --predefined
ersilia example inputs -n 5 -f input.csv --predefined
ersilia -v api -i input.csv
ersilia close
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/test-model.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,8 @@ jobs:
run: |
source activate
wget https://raw.githubusercontent.com/ersilia-os/ersilia/master/.github/scripts/convert_airtable_to_json.py
pip install boto3, requests, pyairtable
python .github/scripts/convert_airtable_to_json.py $AIRTABLE_API_KEY $AWS_ACCESS_KEY_ID $AWS_SECRET_ACCESS_KEY
pip install boto3 requests pyairtable
python convert_airtable_to_json.py $AIRTABLE_API_KEY $AWS_ACCESS_KEY_ID $AWS_SECRET_ACCESS_KEY
rm convert_airtable_to_json.py
- name: Update README file
Expand Down Expand Up @@ -131,7 +131,7 @@ jobs:
run: |
source activate
ersilia -v serve $MODEL_ID
ersilia example -n 5 -f input.csv --predefined
ersilia example inputs -n 5 -f input.csv --predefined
ersilia -v run -i "input.csv" -o "output.csv"
ersilia close
cat output.csv
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/upload-bentoml.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ jobs:
run: |
ersilia -v fetch ${{ github.event.repository.name }} --from_dockerhub
ersilia -v serve ${{ github.event.repository.name }} --track #Added --track here
ersilia example -n 1 -f input.csv --predefined
ersilia example inputs -n 1 -f input.csv --predefined
ersilia -v run -i "input.csv" -o "output.csv"
ersilia close
output=$(python .github/scripts/verify_model_outcome.py output.csv)
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/upload-ersilia-pack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ jobs:
run: |
ersilia -v fetch ${{ github.event.repository.name }} --from_dockerhub
ersilia -v serve ${{ github.event.repository.name }} --track #Added --track here
ersilia example -n 1 -f input.csv --predefined
ersilia example inputs -n 1 -f input.csv --predefined
ersilia -v run -i "input.csv" -o "output.csv"
ersilia close
output=$(python .github/scripts/verify_model_outcome.py output.csv)
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/upload-model-to-s3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,8 @@ jobs:
run: |
source activate
wget https://raw.githubusercontent.com/ersilia-os/ersilia/master/.github/scripts/convert_airtable_to_json.py
pip install boto3, requests, pyairtable
python .github/scripts/convert_airtable_to_json.py $AIRTABLE_API_KEY $AWS_ACCESS_KEY_ID $AWS_SECRET_ACCESS_KEY
pip install boto3 requests pyairtable
python convert_airtable_to_json.py $AIRTABLE_API_KEY $AWS_ACCESS_KEY_ID $AWS_SECRET_ACCESS_KEY
rm convert_airtable_to_json.py
- name: Update README file
Expand Down

0 comments on commit 69970b7

Please sign in to comment.