|
|
|
@ -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
|
|
|
|
|