diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d61dade..c6f6dcb 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -24,13 +24,15 @@ jobs: python-version: "3.13" - name: install dependencies run: | - python -m pip install --upgrade pip - pip install -r requirements.txt + python -m venv venv + venv/bin/python -m pip install --upgrade pip + venv/bin/pip install -r requirements.txt - name: run tests run: | - sudo python -m pytest tests/test_content.py - python -m pytest tests/test_miscellaneous.py - python -m pytest tests/test_users.py + source venv/bin/activate + sudo venv/bin/python -m pytest tests/test_content.py + pytest tests/test_miscellaneous.py + pytest tests/test_users.py build_and_push_docker_image: needs: test_app