Skip to content

Commit 8ddc05d

Browse files
authored
Create .gitpod.yml (#6070)
Add gitpod workspace integration
1 parent fa5e441 commit 8ddc05d

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed

.gitpod.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
image: ghcr.io/conda/conda-ci:main-linux-python3.9
2+
tasks:
3+
- name: initialize
4+
init: |
5+
mkdir -p .vscode
6+
echo '{"python.defaultInterpreterPath": "/home/gitpod/.conda/envs/pymc-dev/bin/python"}' > .vscode/settings.json
7+
conda init bash && source ~/.bashrc
8+
conda env update -f conda-envs/environment-dev.yml
9+
conda activate pymc-dev
10+
pip install -e .
11+
command: |
12+
conda init bash && echo "conda activate pymc-test-py39" >> ~/.bashrc && source ~/.bashrc && conda activate pymc-dev
13+
14+
vscode:
15+
extensions:
16+
- eamodio.gitlens
17+
- ms-python.python
18+
19+
github:
20+
prebuilds:
21+
# enable for master branch
22+
master: true
23+
# enable for other branches (defaults to false)
24+
branches: true
25+
# enable for pull requests coming from this repo (defaults to true)
26+
pullRequests: true
27+
# enable for pull requests coming from forks (defaults to false)
28+
pullRequestsFromForks: false
29+
# add a check to pull requests (defaults to true)
30+
addCheck: true
31+
# add a "Review in Gitpod" button as a comment to pull requests (defaults to false)
32+
addComment: false
33+
# add a "Review in Gitpod" button to the pull request's description (defaults to false)
34+
addBadge: false
35+
# add a label once the prebuild is ready to pull requests (defaults to false)
36+
addLabel: false

0 commit comments

Comments
 (0)