From 5bc83c2b85edb84ee5b0e714e35802a7097ae97b Mon Sep 17 00:00:00 2001 From: Tomasz Kwiatkowski Date: Mon, 2 Dec 2024 18:08:34 +0100 Subject: [PATCH] Fix workflows --- .github/workflows/arch.yml | 4 ++-- .github/workflows/macOS.yml | 4 ++-- .github/workflows/ubuntu.yml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/arch.yml b/.github/workflows/arch.yml index d705a06..04bafd1 100644 --- a/.github/workflows/arch.yml +++ b/.github/workflows/arch.yml @@ -20,7 +20,7 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install dependencies run: | - pip3 install .[tests] + pip3 install -e .[tests] - name: Run pytest without Django env: PYTEST_ADDOPTS: "--color=yes" @@ -30,6 +30,6 @@ jobs: env: PYTEST_ADDOPTS: "--color=yes" run: | - python3 -m install .[tests,django_tests,django] + pip3 install -e .[tests,django_tests,django] ./tests/test_django/manage.py migrate python3 -m pytest -v -n auto diff --git a/.github/workflows/macOS.yml b/.github/workflows/macOS.yml index 2902c87..11a3188 100644 --- a/.github/workflows/macOS.yml +++ b/.github/workflows/macOS.yml @@ -30,7 +30,7 @@ jobs: run: | python3 -m venv .venv source .venv/bin/activate - pip install .[tests] + pip install -e .[tests] - name: Run pytest without Django env: PYTEST_ADDOPTS: "--color=yes" @@ -42,6 +42,6 @@ jobs: PYTEST_ADDOPTS: "--color=yes" run: | source .venv/bin/activate - pip install .[tests,django_tests,django] + pip install -e .[tests,django_tests,django] ./tests/test_django/manage.py migrate pytest -v -n auto diff --git a/.github/workflows/ubuntu.yml b/.github/workflows/ubuntu.yml index 500d35c..af94afd 100644 --- a/.github/workflows/ubuntu.yml +++ b/.github/workflows/ubuntu.yml @@ -20,7 +20,7 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install dependencies run: | - pip3 install .[tests] + pip3 install -e .[tests] - name: Run pytest without Django env: PYTEST_ADDOPTS: "--color=yes" @@ -30,6 +30,6 @@ jobs: env: PYTEST_ADDOPTS: "--color=yes" run: | - python3 -m install .[tests,django_tests,django] + pip3 install -e .[tests,django_tests,django] ./tests/test_django/manage.py migrate python3 -m pytest -v -n auto