Skip to content

Commit

Permalink
fix: remove poetry from tests management
Browse files Browse the repository at this point in the history
  • Loading branch information
SaboniAmine committed Nov 8, 2024
1 parent c9cb780 commit f7cfb68
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
6 changes: 0 additions & 6 deletions .github/workflows/pre-commit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 0 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ env = py310

[testenv]
deps =
poetry
pytest

recreate =
Expand All @@ -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
Expand Down

0 comments on commit f7cfb68

Please sign in to comment.