Skip to content

Commit

Permalink
Update .env
Browse files Browse the repository at this point in the history
  • Loading branch information
Boris committed Oct 19, 2023
1 parent ee80ad5 commit f227686
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 27 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,6 @@ jobs:
python-version: ${{ matrix.python-version }}


- name: Bootstrap Pip environment
shell: bash
run: scripts/bootstrap_test_environment.sh

- name: Install dependencies
shell: bash
run: bash scripts/update_dependencies.sh
Expand Down
22 changes: 0 additions & 22 deletions scripts/bootstrap_test_environment.sh

This file was deleted.

14 changes: 13 additions & 1 deletion scripts/update_dependencies.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,20 @@
#!/bin/bash


if [ -z "$GITHUB_ACTION" ]; then
echo "This step is intended to be run from Github Actions"
pip install pipenv
rm Pipfile.lock
pipenv install --dev
pipenv sync --system --dev
exit 0
fi



if [[ -n $VIRTUAL_ENV ]]; then
echo "Pipenv shell is activated and ready for updates"
rm Pipfile.lock

pipenv install --dev
pipenv sync
echo "Updated dependencies for: `which python`"
Expand Down

0 comments on commit f227686

Please sign in to comment.