forked from ersilia-os/ersilia
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'ersilia-os:master' into master
- Loading branch information
Showing
17 changed files
with
45 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,11 +13,11 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # [email protected] | ||
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # [email protected] | ||
|
||
# parse the issue body from free form text to a structured JSON object | ||
- name: parse issue | ||
uses: GrantBirki/[email protected].0 | ||
uses: GrantBirki/[email protected].1 | ||
id: issue-parser | ||
with: | ||
body: ${{ github.event.client_payload.github.payload.issue.body }} | ||
|
@@ -81,7 +81,7 @@ jobs: | |
# upload git-lfs object | ||
- name: checkout persist credentials | ||
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # [email protected] | ||
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # [email protected] | ||
with: | ||
persist-credentials: false # otherwise, the token used is the GITHUB_TOKEN, instead of your personal token | ||
fetch-depth: 0 # otherwise, you will failed to push refs to dest repo | ||
|
@@ -154,7 +154,7 @@ jobs: | |
# comment on the issue comment with further instructions for the user | ||
- name: comment | ||
uses: GrantBirki/comment@eab1bc94aa728cf526dcd6639bfd067512d4a5cb # [email protected].6 | ||
uses: GrantBirki/comment@e6bf4bc177996c9572b4ddb98b25eb1a80f9abc9 # [email protected].7 | ||
with: | ||
issue-number: ${{ github.event.client_payload.github.payload.issue.number }} | ||
file: .github/templates/new-model.md | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,7 +15,7 @@ jobs: | |
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac | ||
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 | ||
- name: Set up Python ${{ matrix.python-version }} | ||
uses: actions/setup-python@61a6322f88396a6271a6ee3565807d608ecaddd1 | ||
with: | ||
|
@@ -35,7 +35,7 @@ jobs: | |
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"] | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac | ||
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 | ||
- name: Set up Python ${{ matrix.python-version }} | ||
uses: actions/setup-python@61a6322f88396a6271a6ee3565807d608ecaddd1 | ||
with: | ||
|
@@ -57,7 +57,7 @@ jobs: | |
platform: [ubuntu-latest, macos-latest] | ||
runs-on: ${{ matrix.platform }} | ||
steps: | ||
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # [email protected] | ||
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # [email protected] | ||
|
||
- name: Add conda to system path | ||
run: echo $CONDA/bin >> $GITHUB_PATH | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,10 +15,10 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- name: checkout | ||
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # [email protected] | ||
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # [email protected] | ||
|
||
- name: json syntax check | ||
uses: GrantBirki/json-yaml-validate@1652fde01b1be71dfa7131148819e67639792673 # [email protected].0 | ||
uses: GrantBirki/json-yaml-validate@3add42f5fa8bfff04a3fe664d27a316736257ef1 # [email protected].1 | ||
with: | ||
exclude_file: ".github/config/exclude.txt" # .gitignore style file for exclusions | ||
comment: "true" # allow PR comments with error messages |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,7 +15,7 @@ jobs: | |
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # [email protected] | ||
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # [email protected] | ||
|
||
- name: Add conda to system path | ||
run: echo $CONDA/bin >> $GITHUB_PATH | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,7 +18,7 @@ jobs: | |
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # [email protected] | ||
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # [email protected] | ||
|
||
- name: Add conda to system path | ||
run: echo $CONDA/bin >> $GITHUB_PATH | ||
|
@@ -44,14 +44,16 @@ jobs: | |
python --version | ||
echo "After conda init" | ||
conda init | ||
python -m pip install -e .[test] | ||
python -m pip install -e . | ||
- name: Predict output | ||
run: | | ||
source activate | ||
echo "Sample model id selected: $MODEL_ID" | ||
ersilia fetch $MODEL_ID | ||
ersilia -v fetch $MODEL_ID | ||
echo "Serving model: $MODEL_ID" | ||
ersilia serve $MODEL_ID | ||
echo "$MODEL_ID successfully fetched and served" | ||
ersilia sample -n 100 -f input.csv | ||
ersilia api -i input.csv -o output.csv | ||
ersilia run -i input.csv -o output.csv | ||
ersilia close |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,7 +16,7 @@ jobs: | |
count: [0, 1, 2, 3, 4] | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # [email protected] | ||
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # [email protected] | ||
|
||
- name: Add conda to system path | ||
run: echo $CONDA/bin >> $GITHUB_PATH | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,7 +15,7 @@ jobs: | |
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # [email protected] | ||
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # [email protected] | ||
|
||
- name: Set up Python | ||
uses: actions/setup-python@61a6322f88396a6271a6ee3565807d608ecaddd1 # [email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,7 +18,7 @@ jobs: | |
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # [email protected] | ||
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # [email protected] | ||
|
||
- name: Add conda to system path | ||
run: echo $CONDA/bin >> $GITHUB_PATH | ||
|
@@ -58,7 +58,7 @@ jobs: | |
- name: Upload log output | ||
if: ${{ failure() }} | ||
uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # [email protected].2 | ||
uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # [email protected].3 | ||
with: | ||
name: ersilia-predict-logs | ||
path: /home/runner/eos/console.log |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,7 +13,7 @@ jobs: | |
|
||
steps: | ||
- name: Checkout persist credentials | ||
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # [email protected] | ||
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # [email protected] | ||
with: | ||
persist-credentials: false # otherwise, the token used is the GITHUB_TOKEN, instead of your personal token | ||
fetch-depth: 0 # otherwise, you will failed to push refs to dest repo | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,7 @@ jobs: | |
test-colab-notebook: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # [email protected] | ||
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # [email protected] | ||
- name: Add conda to system path | ||
run: echo $CONDA/bin >> $GITHUB_PATH | ||
|
||
|
@@ -33,14 +33,14 @@ jobs: | |
run: jupyter nbconvert --to notebook --execute notebooks/test-colab-notebook-python-api.ipynb --output=output-python-api.ipynb --ExecutePreprocessor.timeout=-1 | ||
|
||
- name: Upload Output of the Google Colab Notebook CLI | ||
uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # [email protected].2 | ||
uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # [email protected].3 | ||
with: | ||
name: output-cli.ipynb | ||
path: notebooks/output-cli.ipynb | ||
retention-days: 7 | ||
|
||
- name: Upload Output of the Google Colab Notebook Python API | ||
uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # [email protected].2 | ||
uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # [email protected].3 | ||
with: | ||
name: output-python-api.ipynb | ||
path: notebooks/output-python-api.ipynb | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,7 +11,7 @@ jobs: | |
test: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # [email protected] | ||
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # [email protected] | ||
|
||
- name: Add conda to system path | ||
run: echo $CONDA/bin >> $GITHUB_PATH | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,7 +21,7 @@ jobs: | |
# Steps represent a sequence of tasks that will be executed as part of the job | ||
steps: | ||
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it | ||
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # [email protected] | ||
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # [email protected] | ||
|
||
# Write json file | ||
- name: Write secrets to json file | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters