Мой config.yml такой:
version: 2
jobs:
build:
machine: true
working_directory: ~/organization_name/repo/api
parallelism: 1
shell: /bin/bash --login
steps:
- checkout
- run: mkdir -p /tmp/circleci-artifacts /tmp/circleci-test-results
# Add app engine sdk to pythonpath for local unit tests.
- run: echo 'export PYTHONPATH="$HOME/google_appengine:$HOME/google_appengine/lib/yaml/lib"' >> $BASH_ENV
- run: if [ -e requirements.txt ]; then pip install -r requirements.txt; else pip install -r requirements.pip; fi
В run: if [ -e requirements.txt ]; then pip install -r requirements.txt; else pip install -r requirements.pip; fi
написано Could not open requirements file: [Errno 2] No such file or directory: 'requirements.pip'
.
requirements.txt
существует в ~/organization_name/repo/api
, но, похоже, не извлекается из каталога.
Как выполнить установку pip в api/
?