diff --git a/.gitpod.yml b/.gitpod.yml index 2a8500e3..4b306223 100644 --- a/.gitpod.yml +++ b/.gitpod.yml @@ -1,13 +1,16 @@ -image: numpy/numpy-gitpod:latest +image: ghcr.io/conda/conda-ci:main-linux-python3.9 tasks: - name: initialize init: | mkdir -p .vscode - echo '{"python.defaultInterpreterPath": "/home/gitpod/mambaforge3/envs/pymc-test-py39/bin/python"}' > .vscode/settings.json - conda create -yf conda-envs/environment-test-py39.yml + echo '{"python.defaultInterpreterPath": "/home/gitpod/.conda/envs/pymc-test-py39/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 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 vscode: extensions: