Skip to content
Closed
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
4 changes: 2 additions & 2 deletions .github/scripts/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export SERVICE_ACCOUNT_CREDENTIALS="${HOME}/secrets/service_account.json"
dirs=()

if [ -f "requirements.txt" ]; then
pipenv install -r "requirements.txt"
pipenv install setuptools -r "requirements.txt"
fi

IFS=$'\n' read -r -d '' -a dirs < <( find . -name '*_test.py' -exec dirname '{}' \; | sort -u )
Expand All @@ -34,7 +34,7 @@ for dir in "${dirs[@]}"; do
if [ -f "requirements.txt" ]; then
# If requirements.txt present, create a new isolated environment
touch Pipfile
pipenv install -r "requirements.txt"
pipenv install setuptools -r "requirements.txt"
fi
pipenv run python -m unittest discover
status=$?
Expand Down
Loading
Loading