diff --git a/.forgejo/workflows/ci.yaml b/.forgejo/workflows/ci.yaml index 2432ac4..bd95c34 100644 --- a/.forgejo/workflows/ci.yaml +++ b/.forgejo/workflows/ci.yaml @@ -24,7 +24,7 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - pip install ruff black + pip install -r requirements-dev.txt - name: Run ruff run: ruff check app tests scripts - name: Run black @@ -44,8 +44,7 @@ jobs: run: | set -x python -m pip install --upgrade pip - pip install mypy types-requests - pip install nicegui fastapi uvicorn yfinance polars pandas pydantic pyyaml + pip install -r requirements-dev.txt pip list - name: Run mypy run: | @@ -67,8 +66,7 @@ jobs: run: | set -x python -m pip install --upgrade pip - pip install pytest pytest-asyncio httpx playwright==1.58.0 - pip install nicegui fastapi uvicorn yfinance polars pandas pydantic pyyaml + pip install -r requirements-dev.txt pip list - name: Run tests run: pytest -v --tb=short diff --git a/requirements-dev.txt b/requirements-dev.txt index acdf6f8..fb7403b 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -7,5 +7,5 @@ ruff>=0.2.0 mypy>=1.8.0 types-requests>=2.31.0 httpx>=0.26.0 -playwright>=1.55.0 +playwright==1.58.0 pre-commit>=3.6.0