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

feat(dev): enable gitpod development #238

Merged
merged 1 commit into from
Jun 30, 2022
Merged
Show file tree
Hide file tree
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
23 changes: 23 additions & 0 deletions .gitpod.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# 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.7 3.8 3.9 3.10"

# 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
4 changes: 4 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@
requires = ["setuptools>=40.8.0", "wheel", "bleach>=2.1.0", "docutils>=0.13.1", "Pygments>=2.5.1"]
build-backend = "setuptools.build_meta:__legacy__"

# TODO: Remove when https://github.com/mgedmin/check-manifest/pull/155 released
[tool.check-manifest]
ignore = [".gitpod.yml"]

[tool.mypy]
strict = true
warn_unused_configs = true
Expand Down