From 9ef6e584362e25217d073a9318e3994819fbe00d Mon Sep 17 00:00:00 2001 From: Maxim Kochurov Date: Wed, 7 Sep 2022 11:20:13 +0000 Subject: [PATCH] prebuilds setup --- .gitignore | 1 + .gitpod.yml | 8 ++++---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index 1212aea21..4ea251c49 100644 --- a/.gitignore +++ b/.gitignore @@ -44,3 +44,4 @@ pytestdebug.log # Codespaces pythonenv* +env/ \ No newline at end of file diff --git a/.gitpod.yml b/.gitpod.yml index 4b3062238..5240e9cfe 100644 --- a/.gitpod.yml +++ b/.gitpod.yml @@ -3,14 +3,14 @@ tasks: - name: initialize init: | mkdir -p .vscode - echo '{"python.defaultInterpreterPath": "/home/gitpod/.conda/envs/pymc-test-py39/bin/python"}' > .vscode/settings.json + echo '{"python.defaultInterpreterPath": "/workspace/pymc-experimental/env/bin/python"}' > .vscode/settings.json conda init bash && source ~/.bashrc - conda env update -f conda-envs/environment-test-py39.yml - conda activate pymc-test-py39 + conda env update -f conda-envs/environment-test-py39.yml -p env + conda activate /workspace/pymc-experimental/env pip install -r requirements-dev.txt pip install -e . command: | - conda init bash && echo "conda activate pymc-test-py39" >> ~/.bashrc && source ~/.bashrc && conda activate pymc-test-py39 + conda init bash && echo "conda activate /workspace/pymc-experimental/env" >> ~/.bashrc && source ~/.bashrc vscode: extensions: