mirror of
https://github.com/QualityInUse/lab-coverage-maksktl.git
synced 2026-08-05 12:45:29 +03:00
Fix dependencies
This commit is contained in:
@@ -15,7 +15,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
poetry-version: '1.7.1'
|
poetry-version: '1.7.1'
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: poetry install; poetry add pytest; poetry add pytest-mock; poetry add pytest-cov
|
run: poetry install
|
||||||
- name: Run pytest-cov
|
- name: Run pytest-cov
|
||||||
run: poetry run pytest tests/ --cov=app --cov-branch --cov-report json:coverage.json
|
run: poetry run pytest tests/ --cov=app --cov-branch --cov-report json:coverage.json
|
||||||
- name: Check coverage threshold
|
- name: Check coverage threshold
|
||||||
|
|||||||
@@ -9,6 +9,7 @@ readme = "README.md"
|
|||||||
python = "^3.11"
|
python = "^3.11"
|
||||||
pytest = "^8.0.0"
|
pytest = "^8.0.0"
|
||||||
pytest-cov = "^4.1.0"
|
pytest-cov = "^4.1.0"
|
||||||
|
pytest-mock = "^3.12.0"
|
||||||
|
|
||||||
|
|
||||||
[build-system]
|
[build-system]
|
||||||
|
|||||||
Reference in New Issue
Block a user