From ae1f5f4b505b55bdc2c2e1eaf7276de0e080cf65 Mon Sep 17 00:00:00 2001 From: e-maks Date: Mon, 4 Mar 2024 02:25:26 +0300 Subject: [PATCH] Fix dependencies --- .github/workflows/main.yaml | 2 +- pyproject.toml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 86499e3..d1bb753 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -15,7 +15,7 @@ jobs: with: poetry-version: '1.7.1' - name: Install dependencies - run: poetry install; poetry add pytest; poetry add pytest-mock; poetry add pytest-cov + run: poetry install - name: Run pytest-cov run: poetry run pytest tests/ --cov=app --cov-branch --cov-report json:coverage.json - name: Check coverage threshold diff --git a/pyproject.toml b/pyproject.toml index 224b167..d0d0bc6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -9,6 +9,7 @@ readme = "README.md" python = "^3.11" pytest = "^8.0.0" pytest-cov = "^4.1.0" +pytest-mock = "^3.12.0" [build-system]