Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create .gitpod.yml #6070

Merged
merged 1 commit into from
Aug 26, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 36 additions & 0 deletions .gitpod.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
image: ghcr.io/conda/conda-ci:main-linux-python3.9
tasks:
- name: initialize
init: |
mkdir -p .vscode
echo '{"python.defaultInterpreterPath": "/home/gitpod/.conda/envs/pymc-dev/bin/python"}' > .vscode/settings.json
conda init bash && source ~/.bashrc
conda env update -f conda-envs/environment-dev.yml
conda activate pymc-dev
pip install -e .
command: |
conda init bash && echo "conda activate pymc-test-py39" >> ~/.bashrc && source ~/.bashrc && conda activate pymc-dev

vscode:
extensions:
- eamodio.gitlens
- ms-python.python

github:
prebuilds:
# enable for master branch
master: true
# enable for other branches (defaults to false)
branches: true
# enable for pull requests coming from this repo (defaults to true)
pullRequests: true
# enable for pull requests coming from forks (defaults to false)
pullRequestsFromForks: false
# add a check to pull requests (defaults to true)
addCheck: true
# add a "Review in Gitpod" button as a comment to pull requests (defaults to false)
addComment: false
# add a "Review in Gitpod" button to the pull request's description (defaults to false)
addBadge: false
# add a label once the prebuild is ready to pull requests (defaults to false)
addLabel: false