diff --git a/.github/workflows/post-model-upload.yml b/.github/workflows/post-model-upload.yml index 1dbe0c9..b3a81c4 100644 --- a/.github/workflows/post-model-upload.yml +++ b/.github/workflows/post-model-upload.yml @@ -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 diff --git a/.github/workflows/test-model-pr.yml b/.github/workflows/test-model-pr.yml index a76fb5c..889761d 100644 --- a/.github/workflows/test-model-pr.yml +++ b/.github/workflows/test-model-pr.yml @@ -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 diff --git a/.github/workflows/test-model.yml b/.github/workflows/test-model.yml index 624b1ab..29b386e 100644 --- a/.github/workflows/test-model.yml +++ b/.github/workflows/test-model.yml @@ -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 @@ -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 diff --git a/.github/workflows/upload-bentoml.yml b/.github/workflows/upload-bentoml.yml index 456876a..fe28ba0 100644 --- a/.github/workflows/upload-bentoml.yml +++ b/.github/workflows/upload-bentoml.yml @@ -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) diff --git a/.github/workflows/upload-ersilia-pack.yml b/.github/workflows/upload-ersilia-pack.yml index fe4bd5c..f72dcfa 100644 --- a/.github/workflows/upload-ersilia-pack.yml +++ b/.github/workflows/upload-ersilia-pack.yml @@ -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) diff --git a/.github/workflows/upload-model-to-s3.yml b/.github/workflows/upload-model-to-s3.yml index ffb0705..cdaada0 100644 --- a/.github/workflows/upload-model-to-s3.yml +++ b/.github/workflows/upload-model-to-s3.yml @@ -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