-
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.
Updated pipeline function for in-code use | New badges and workflows
- Loading branch information
1 parent
cc49273
commit 413b2fa
Showing
13 changed files
with
271 additions
and
211 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,32 @@ | ||
name: MacOS Build | ||
name: Macos Build | ||
|
||
# workflow dispatch has been added for testing purposes | ||
on: [push, pull_request, workflow_dispatch] | ||
on: | ||
push: | ||
branches: | ||
- main | ||
- spiros-dev | ||
pull_request: | ||
branches: | ||
- main | ||
- spiros-dev | ||
|
||
jobs: | ||
build: | ||
runs-on: ["macos-latest"] | ||
test: | ||
runs-on: macos-latest | ||
strategy: | ||
matrix: | ||
python-version: ["3.9", "3.10", "3.11", "3.12"] | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: actions/setup-python@v5 | ||
with: | ||
python-version: "3.12" | ||
- name: Set-up miniconda for macos and ubuntu | ||
uses: conda-incubator/setup-miniconda@v3 | ||
with: | ||
auto-update-conda: true | ||
python-version: 3.12 | ||
miniconda-version: "latest" | ||
- name: Create conda env | ||
run: conda create -n NCP python=3.12 | ||
- name: Install pip | ||
run: conda run -n NCP conda install pip | ||
- name: Build DLWMLS from source | ||
run: | | ||
python -m pip cache purge | ||
pip install setuptools twine wheel | ||
pip install -r requirements.txt | ||
python3 -m pip install -e . | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
|
||
- name: Setup python version ${{ matrix.python-version }} | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
|
||
- name: Install dependencies | ||
run: | | ||
pip install -r requirements.txt | ||
python3 -m pip install -e . |
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 |
---|---|---|
@@ -1,30 +1,32 @@ | ||
name: Ubuntu Build | ||
|
||
# workflow dispatch has been added for testing purposes | ||
on: [push, pull_request, workflow_dispatch] | ||
on: | ||
push: | ||
branches: | ||
- main | ||
- spiros-dev | ||
pull_request: | ||
branches: | ||
- main | ||
- spiros-dev | ||
|
||
jobs: | ||
build: | ||
runs-on: ["ubuntu-latest"] | ||
test: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
python-version: ["3.9", "3.10", "3.11", "3.12"] | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: actions/setup-python@v5 | ||
with: | ||
python-version: "3.12" | ||
- name: Set-up miniconda for macos and ubuntu | ||
uses: conda-incubator/setup-miniconda@v3 | ||
with: | ||
auto-update-conda: true | ||
python-version: 3.12 | ||
miniconda-version: "latest" | ||
- name: Create conda env | ||
run: conda create -n NCP python=3.12 | ||
- name: Install pip | ||
run: conda run -n NCP conda install pip | ||
- name: Build DLWMLS from source | ||
run: | | ||
python -m pip cache purge | ||
pip install setuptools twine wheel | ||
pip install -r requirements.txt | ||
python3 -m pip install -e . | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
|
||
- name: Setup python version ${{ matrix.python-version }} | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
|
||
- name: Install dependencies | ||
run: | | ||
pip install -r requirements.txt | ||
python3 -m pip install -e . |
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
from dlwmls_pipeline import run_dlwmls_pipeline |
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
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Oops, something went wrong.