Skip to content

Commit

Permalink
[requirements] for tests use pytest-flask with a specific branch that…
Browse files Browse the repository at this point in the history
… doesn't use flask._request_ctx_stack
  • Loading branch information
EvanBldy committed Oct 9, 2023
1 parent 4b12ed5 commit 58fbb37
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,11 @@ jobs:
- name: Install packages 📦
run: >-
python -m pip install .[ci]
- name: Install flask-mongoengine
- name: Install flask-mongoengine and pytest-flask from git 📦
run: >-
python -m pip install "flask-mongoengine @ git+https://github.com/idoshr/flask-mongoengine.git@json_encoder"
python -m pip install
"flask-mongoengine @ git+https://github.com/idoshr/flask-mongoengine.git@json_encoder"
"pytest-flask @git+https://github.com/threeal/pytest-flask.git@remove-request-ctx"
- name: Launch dockers 🐳
run: >-
docker-compose up -d
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ commands = inv test qa
deps =
.[ci]
flask-mongoengine @ git+https://github.com/idoshr/flask-mongoengine.git@json_encoder

pytest-flask @git+https://github.com/threeal/pytest-flask.git@remove-request-ctx
# Allow failure on PyPy
[testenv:pypy3]
commands = - inv test qa
Expand Down

0 comments on commit 58fbb37

Please sign in to comment.