Skip to content

Commit

Permalink
dim-testsuit: add target to install non-editable dev dependencies
Browse files Browse the repository at this point in the history
work around issue on old pip: `ERROR: File "setup.py" not found. Directory cannot be installed in editable mode: /__w/dim/dim/dim`, we do not need editable anyway
  • Loading branch information
zeromind committed Sep 9, 2024
1 parent 6c99434 commit 2f252f8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/run_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
- name: Check out repository code
uses: actions/checkout@v3
- name: Prepare virtual environment
run: make install-dev
run: make install-test
working-directory: dim-testsuite
- name: Create DIM configuration directory
run: mkdir -p /etc/dim
Expand Down
4 changes: 4 additions & 0 deletions dim-testsuite/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,10 @@ install-dev: install-deps-local-editable
${VPIP} install -r ../dim/requirements-dev.txt
${VPIP} install -r ../ndcli/requirements-dev.txt

install-test: install
${VPIP} install -r ../dim/requirements-dev.txt
${VPIP} install -r ../ndcli/requirements-dev.txt

db-clear:
FLASK_APP=${FLASK_APP} ${VDIR}/bin/flask db clear

Expand Down

0 comments on commit 2f252f8

Please sign in to comment.