diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 782e8fc..34f1119 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 diff --git a/tox.ini b/tox.ini index 2c6a5d0..61f32c0 100644 --- a/tox.ini +++ b/tox.ini @@ -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