-
Notifications
You must be signed in to change notification settings - Fork 89
/
.gitpod.yml
29 lines (21 loc) · 698 Bytes
/
.gitpod.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# See https://www.gitpod.io/docs/references/gitpod-yml for full reference
tasks:
- name: Setup Development and run Tests
init: |
# Upgrade pyenv itself
pyenv update
export PY_VERSIONS="3.8 3.9 3.10 3.11 3.12"
# Install all supported Python versions
for py in $PY_VERSIONS;
do pyenv install "$py":latest --skip-existing ;
done
# Make versions available via $PATH, exclude GitPod default
pyenv global $(pyenv versions --bare | grep -v 3.8.13)
# Install `tox` test orchestrator
pip install tox
command: tox
vscode:
extensions:
- ms-python.python
- EditorConfig.EditorConfig
- tamasfe.even-better-toml