-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0a565ba
commit 6c6324c
Showing
140 changed files
with
3,316 additions
and
3,986 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 +1,13 @@ | ||
# :auto shared: | ||
*.rst conflict-marker-size=79 | ||
**.pt filter=lfs diff=lfs merge=lfs -text | ||
**.pth filter=lfs diff=lfs merge=lfs -text | ||
**.pkl filter=lfs diff=lfs merge=lfs -text | ||
**.png filter=lfs diff=lfs merge=lfs -text | ||
**.jpg filter=lfs diff=lfs merge=lfs -text | ||
**.jpeg filter=lfs diff=lfs merge=lfs -text | ||
**.tiff filter=lfs diff=lfs merge=lfs -text | ||
**.bin filter=lfs diff=lfs merge=lfs -text | ||
**.tiff filter=lfs diff=lfs merge=lfs -text | ||
**.npy filter=lfs diff=lfs merge=lfs -text | ||
# :auto shared: |
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,37 @@ | ||
name: "build-stage" | ||
description: "Setup user python environment with poetry and enable caching." | ||
runs: | ||
using: "composite" | ||
steps: | ||
- name: Install Git LFS | ||
run: | | ||
apt-get -qq update | ||
apt-get -qq install -y git-lfs | ||
shell: bash | ||
- name: Environment Variables | ||
run: | | ||
export PIP_CACHE_DIR="$GITHUB_WORKSPACE/.cache/pip" | ||
export POETRY_CACHE_DIR="$GITHUB_WORKSPACE/.cache/poetry" | ||
echo "${HOME}/.local/bin" >> $GITHUB_PATH | ||
shell: bash | ||
- name: Setup Poetry | ||
run: | | ||
pip install --root-user-action=ignore --upgrade pip -q | ||
pip install --root-user-action=ignore --user -U poetry -q | ||
shell: bash | ||
- name: Configure Poetry | ||
run: | | ||
poetry config --local virtualenvs.in-project true | ||
poetry config --local virtualenvs.prefer-active-python true | ||
shell: bash | ||
- name: Versions of things used here | ||
run: | | ||
python --version | ||
poetry -q run python --version | ||
pip --version | ||
poetry --version | ||
poetry check | ||
shell: bash | ||
- name: Install Environment | ||
run: poetry install --sync --only main,linting,tests,docs | ||
shell: bash |
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,10 @@ | ||
name: "quality-stage" | ||
description: "Setup user python environment with poetry and enable caching." | ||
runs: | ||
using: "composite" | ||
steps: | ||
- name: Setup Environment | ||
uses: ./.github/actions/build-stage | ||
- name: Synchronize Poetry Environment | ||
run: poetry install --sync --only main,linting,tests | ||
shell: bash |
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,17 @@ | ||
name: "test-stage" | ||
description: "Setup user python environment with poetry and enable caching." | ||
|
||
inputs: | ||
extras: | ||
description: "Parameterize the 'extras' required for testing" | ||
required: true | ||
default: "" | ||
|
||
runs: | ||
using: "composite" | ||
steps: | ||
- name: Setup Environment | ||
uses: ./.github/actions/build-stage | ||
- name: Synchronize Poetry Environment | ||
run: poetry install --sync --only main,linting,tests --extras "${{ inputs.extras }}" | ||
shell: bash |
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
Oops, something went wrong.