Skip to content

Commit 05612fa

Browse files
authored
Merge branch 'master' into deprecated-pythons-test
2 parents 011f1e7 + 6bf3a75 commit 05612fa

File tree

2 files changed

+8
-9
lines changed

2 files changed

+8
-9
lines changed

CHANGELOG.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@
33
# Master
44

55
- Sqlite3 Update:
6-
- Test improvements
7-
- Bug fix: pipenv no longer installs twice on CI
6+
- Test Improvements
87
- Add support for staging binary testing
98
--------------------------------------------------------------------------------
109

bin/steps/pipenv

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -60,16 +60,10 @@ if [ ! "$SKIP_PIPENV_INSTALL" ]; then
6060
# avoid this eager behavior.
6161
/app/.heroku/python/bin/pip install pipenv==$PIPENV_VERSION --upgrade --upgrade-strategy only-if-needed &> /dev/null
6262

63-
# Install the test dependencies, for CI.
64-
if [ "$INSTALL_TEST" ]; then
65-
puts-step "Installing test dependencies…"
66-
/app/.heroku/python/bin/pipenv install --dev --system --deploy 2>&1 | cleanup | indent
67-
6863
# Install the dependencies.
69-
elif [[ ! -f Pipfile.lock ]]; then
64+
if [[ ! -f Pipfile.lock ]]; then
7065
puts-step "Installing dependencies with Pipenv $PIPENV_VERSION"
7166
/app/.heroku/python/bin/pipenv install --system --skip-lock 2>&1 | indent
72-
7367
else
7468
pipenv-to-pip Pipfile.lock > requirements.txt
7569
"$BIN_DIR/steps/pip-uninstall"
@@ -79,6 +73,12 @@ if [ ! "$SKIP_PIPENV_INSTALL" ]; then
7973
puts-step "Installing dependencies with Pipenv $PIPENV_VERSION"
8074
/app/.heroku/python/bin/pipenv install --system --deploy 2>&1 | indent
8175
fi
76+
77+
# Install the test dependencies, for CI.
78+
if [ "$INSTALL_TEST" ]; then
79+
puts-step "Installing test dependencies…"
80+
/app/.heroku/python/bin/pipenv install --dev --system --deploy 2>&1 | cleanup | indent
81+
fi
8282
fi
8383
else
8484
export SKIP_PIP_INSTALL=1

0 commit comments

Comments
 (0)