Skip to content

Commit

Permalink
Update .gitpod.yml (#6109)
Browse files Browse the repository at this point in the history
* Update .gitpod.yml

* Update .gitignore

* Update .gitpod.yml
  • Loading branch information
ferrine authored Sep 7, 2022
1 parent 761f77d commit d19f575
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -44,3 +44,4 @@ pytestdebug.log

# Codespaces
pythonenv*
env/
8 changes: 4 additions & 4 deletions .gitpod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@ tasks:
- name: initialize
init: |
mkdir -p .vscode
echo '{"python.defaultInterpreterPath": "/home/gitpod/.conda/envs/pymc-dev/bin/python"}' > .vscode/settings.json
echo '{"python.defaultInterpreterPath": "/workspace/pymc/env/bin/python"}' > .vscode/settings.json
conda init bash && source ~/.bashrc
conda env update -f conda-envs/environment-dev.yml
conda activate pymc-dev
conda env update -f conda-envs/environment-dev.yml -p /workspace/pymc/env
conda activate /workspace/pymc/env
pip install -e .
command: |
conda init bash && echo "conda activate pymc-dev" >> ~/.bashrc && source ~/.bashrc && conda activate pymc-dev
conda init bash && echo "conda activate /workspace/pymc/env" >> ~/.bashrc && source ~/.bashrc
vscode:
extensions:
Expand Down

0 comments on commit d19f575

Please sign in to comment.