Skip to content
This repository was archived by the owner on Oct 1, 2025. It is now read-only.
Open
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
22 changes: 22 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
version: 2.1

# -------------------------------------------------------------------------------------
# Commands
# -------------------------------------------------------------------------------------

commands:

py_3_7_setup:
description: "Install and switch to Python 3.7.5; also install pip and pytest."
steps:
- run:
name: "Setup Python v3.7.5 environment"
command: |
cd /opt/circleci/.pyenv && git pull && cd -
pyenv install -s 3.7.5
pyenv global 3.7.5
pyenv local 3.7.5
pyenv versions
echo "In venv: $(pyenv local) - $(python -V), $(pip -V)"
sudo "$(which python)" -m pip install --upgrade pip
sudo "$(which python)" -m pip install pytest