forked from hummingbot/hummingbot
-
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 pull request hummingbot#5281 from hummingbot/development
sync / development -> staging
- Loading branch information
Showing
566 changed files
with
40,788 additions
and
9,187 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 |
---|---|---|
@@ -0,0 +1 @@ | ||
* @hummingbot/* |
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,44 @@ | ||
name: "Install environment and Hummingbot" | ||
description: "Installs conda environment, all libraries and compiles Hummingbot" | ||
inputs: | ||
program-cache-hit: | ||
required: true | ||
description: "Value of truth regarding the program cache being hit or not" | ||
dependencies-cache-hit: | ||
required: true | ||
description: "Value of truth regarding the program cache being hit or not" | ||
runs: | ||
using: "composite" | ||
steps: | ||
# Install python/conda to check if core code has changed | ||
- uses: actions/setup-python@v2 | ||
if: ${{inputs.program-cache-hit}} != 'true' || ${{inputs.dependencies-cache-hit}} != 'true' | ||
with: | ||
python-version: 3.x | ||
|
||
# Install pre_commit if code has changed | ||
- name: Install pre_commit | ||
if: ${{inputs.program-cache-hit}} != 'true' || ${{inputs.dependencies-cache-hit}} != 'true' | ||
shell: bash | ||
run: | | ||
conda install -c conda-forge pre_commit | ||
# Install hummingbot env if environment-linux.yml has changed | ||
- name: Install Hummingbot | ||
if: ${{inputs.dependencies-cache-hit}} != 'true' | ||
shell: bash -l {0} | ||
run: | | ||
./install | ||
# Compile and run tests if code has changed | ||
- name: Compile Hummingbot | ||
shell: bash | ||
if: ${{inputs.program-cache-hit}} != 'true' || ${{inputs.dependencies-cache-hit}} != 'true' | ||
env: | ||
WITHOUT_CYTHON_OPTIMIZATIONS: 'true' | ||
run: | | ||
source $CONDA/etc/profile.d/conda.sh | ||
conda info --envs | ||
conda activate hummingbot | ||
conda env export | ||
./compile |
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.