From 5d9acb86f59379a02ce0fa94d8aa04fa24ea9828 Mon Sep 17 00:00:00 2001 From: Jan Grewe Date: Thu, 14 Dec 2023 09:06:10 +0100 Subject: [PATCH] [workflow] use pip install . to avoid deprecation warnings --- .github/workflows/run-tests.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index a3010d2d..c1352f8e 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -24,7 +24,7 @@ jobs: run: python -c "import sys; print(sys.version)" - name: Install dependencies run: | - python setup.py install + pip install . install pip install -r requirements-test.txt - name: Run tests run: pytest @@ -46,7 +46,7 @@ jobs: run: python -c "import sys; print(sys.version)" - name: Install dependencies run: | - python setup.py install + pip install . install pip install -r requirements-test.txt - name: Run tests run: pytest @@ -72,7 +72,7 @@ jobs: run: python -c "import sys; print(sys.version)" - name: Install dependencies run: | - python setup.py install + pip install . pip install -r requirements-test.txt - name: Run tests run: pytest @@ -98,7 +98,7 @@ jobs: run: python -c "import sys; print(sys.version)" - name: Install dependencies run: | - python setup.py install + pip install . pip install -r requirements-test.txt - name: Run tests run: pytest @@ -114,7 +114,7 @@ jobs: run: python -c "import sys; print(sys.version)" - name: Install dependencies run: | - python setup.py install + pip install . pip install -r requirements-test.txt pip install pytest coveralls - name: Create coverage @@ -134,7 +134,7 @@ jobs: python-version: "3.10" - name: Install dependencies run: | - python setup.py install + pip install . pip install -r requirements-test.txt pip install pytest pytest-cov - name: Create coverage