Skip to content

Commit

Permalink
Fix Circle errors
Browse files Browse the repository at this point in the history
  • Loading branch information
lbeaufort committed Feb 2, 2022
1 parent 044d6c3 commit b0e5bc2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:

dependency-check:
docker:
- image: cimg/python:3.8
- image: cimg/python:3.7

steps:
- checkout
Expand All @@ -35,7 +35,7 @@ jobs:
awk -v "today=${today}" '{ if ($2 > today || $2 == "") print "-i", $1}' | # print any line after today
xargs echo # put all the output from previous command on one line
)
export command="safety check -r django-backend/requirements.txt --full-report $ignores"
export command="safety check -r requirements.txt --full-report $ignores"
echo "----------------------------------------------------"
echo "If you need to modify the ignore list for the safety"
Expand Down Expand Up @@ -69,7 +69,7 @@ jobs:
- run:
name: Create unified requirements so CircleCI can cache them
command: |
cd ~/project/django-backend
cd ~/project/
ls -l
cat requirements.txt > requirements-all.txt
echo >> requirements-all.txt # blank in case new newline at end of requirements.txt
Expand All @@ -82,7 +82,7 @@ jobs:

- run:
name: Wait for the database to be active
command: pip install psycopg2 psycopg2-binary retry && python wait_for_db.py
command: python wait_for_db.py
working_directory: ~/project/django-backend/

- run:
Expand Down

0 comments on commit b0e5bc2

Please sign in to comment.