Skip to content

Commit

Permalink
Test
Browse files Browse the repository at this point in the history
  • Loading branch information
amenasria committed Oct 31, 2024
1 parent 67fba0a commit 48b1d5b
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .gitlab/common/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,15 @@
VENV_NAME="datadog-agent-python-$PYTHON_VERSION"
if [ "$PYTHON_REPO_VERSION" != "$PYTHON_VERSION" ]; then
echo "Warning: The current Python version $PYTHON_VERSION is different from $PYTHON_REPO_VERSION in .python-version."
echo "Installing Python $PYTHON_REPO_VERSION..."
echo "Using Python $PYTHON_VERSION"
fi
echo $PYTHON_VERSION
echo $VENV_NAME
pyenv virtualenvs --bare
pyenv virtualenvs --bare | grep -q "^${VENV_NAME}$"
echo $?
! pyenv virtualenvs --bare | grep -q "^${VENV_NAME}$"
echo $?
if ! pyenv virtualenvs --bare | grep -q "^${VENV_NAME}$"; then
pyenv virtualenv $PYTHON_VERSION $VENV_NAME
fi
Expand Down

0 comments on commit 48b1d5b

Please sign in to comment.