File: .gitpod.yml

package info (click to toggle)
python-readme-renderer 44.0-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 784 kB
  • sloc: python: 424; sh: 23; makefile: 6
file content (29 lines) | stat: -rw-r--r-- 698 bytes parent folder | download | duplicates (2)
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