Browse Source

Fix dependencies

main
e-maks 2 years ago
parent
commit
ae1f5f4b50
  1. 2
      .github/workflows/main.yaml
  2. 1
      pyproject.toml

2
.github/workflows/main.yaml

@ -15,7 +15,7 @@ jobs: @@ -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

1
pyproject.toml

@ -9,6 +9,7 @@ readme = "README.md" @@ -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]

Loading…
Cancel
Save