From f8f338f50e95588a72769a397904186a4c192a1a Mon Sep 17 00:00:00 2001 From: Aineopintojen-harjoitustyo-Algoritmit-j Date: Wed, 6 Mar 2024 23:45:54 +0200 Subject: seems to work with pip --- .github/workflows/auto.yml | 2 +- dev.sh | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/auto.yml b/.github/workflows/auto.yml index da23a58..81d4673 100644 --- a/.github/workflows/auto.yml +++ b/.github/workflows/auto.yml @@ -27,7 +27,7 @@ jobs: # Install dependencies - name: Install dev dependencies - run: PIP="pip" ./dev.sh dev + run: ./dev.sh dev # Run coverage xml - name: Run unittests with coverage and generate xml diff --git a/dev.sh b/dev.sh index e5b0a37..6407c0b 100755 --- a/dev.sh +++ b/dev.sh @@ -27,6 +27,11 @@ case $1 in $PIP install poetry ;; + install-latest-build) + $PIP install `ls dist/*.tar.gz -t -c -1 | head -1` \ + && echo "For uninstall please use '$PIP uninstall ...'" + ;; + poetry-dev-deps) PYTHON_KEYRING_BACKEND=keyring.backends.fail.Keyring \ poetry install --no-root @@ -72,11 +77,6 @@ case $1 in poetry build ;; - install-latest-build) - $PIP install `ls dist/*.tar.gz -t -c -1 | head -1` \ - && echo "For uninstall please use '$PIP uninstall ...'" - ;; - install) $0 install-poetry \ && $0 poetry-build \ -- cgit v1.2.3