Skip to content

Merge pull request #14 from RewstApp/feature/sc-42154/add-configurati… #38

Merge pull request #14 from RewstApp/feature/sc-42154/add-configurati…

Merge pull request #14 from RewstApp/feature/sc-42154/add-configurati… #38

Workflow file for this run

---
name: Code Coverage
on:
push:
jobs:
coverage:
name: Calculate code coverage
runs-on: windows-latest
steps:
- name: Checkout Code
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.12'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install coverage-lcov
- name: Run tests using coverage.py module
run: |
pytest --cov=.
- name: Generate lcov file
run: |
coverage-lcov
- name: Code Coverage Summary Report
uses: VGVentures/[email protected]
with:
path: lcov.info
min_coverage: 90