From f7cfb683b99b1183bf74ad0aefb00fa73bc04c77 Mon Sep 17 00:00:00 2001 From: Amine Saboni Date: Fri, 8 Nov 2024 13:37:37 +0100 Subject: [PATCH] fix: remove poetry from tests management --- .github/workflows/pre-commit.yaml | 6 ------ tox.ini | 2 -- 2 files changed, 8 deletions(-) diff --git a/.github/workflows/pre-commit.yaml b/.github/workflows/pre-commit.yaml index 6ce1e157..eb9dbbc6 100644 --- a/.github/workflows/pre-commit.yaml +++ b/.github/workflows/pre-commit.yaml @@ -11,12 +11,6 @@ jobs: steps: - uses: actions/checkout@v2 - uses: actions/setup-python@v2 - - - name: Install poetry - run: | - cd backend - python -m pip install poetry - poetry export --with dev --format=requirements.txt --output=requirements.txt - name: set PY run: echo "PY=$(python -c 'import hashlib, sys;print(hashlib.sha256(sys.version.encode()+sys.executable.encode()).hexdigest())')" >> $GITHUB_ENV - uses: actions/cache@v1 diff --git a/tox.ini b/tox.ini index bceaca45..1c7f38fb 100644 --- a/tox.ini +++ b/tox.ini @@ -3,7 +3,6 @@ env = py310 [testenv] deps = - poetry pytest recreate = @@ -12,7 +11,6 @@ recreate = changedir = ./backend commands = - poetry install --with dev # tests are failing due to test database missing on github # todo enable database for testing #python -m pytest -vv