Skip to content

ci: add template consistency check action #144

ci: add template consistency check action

ci: add template consistency check action #144

Workflow file for this run

name: 'coverage-diff'
on:
pull_request:
branches:
- master
- main
jobs:
coverage-diff:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: "Install dependencies"
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install -r test-requirements.txt
- name: "Generate coverage"
run: |
coverage run --source=fingerprint_pro_server_api_sdk -m pytest
coverage xml
- name: Get Cover
uses: orgoro/coverage@3f13a558c5af7376496aa4848bf0224aead366ac
with:
coverageFile: ./coverage.xml
token: ${{ secrets.GITHUB_TOKEN }}