Skip to content

V0.3

V0.3 #147

Workflow file for this run

name: Coverage
on: [push, pull_request]
jobs:
run:
name: CI
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Python
uses: actions/[email protected]
- name: Display Python Version
run: python --version
- name: Install dependencies
run: |
python -m pip install --upgrade pip tox PySide6
pip install coverage pytest pytest-cov
- name: Run Tests
run: |
tox
pytest --cov=QStyler --cov=tests
coverage report
coverage xml -o coverage.xml
- name: Codecov
uses: codecov/[email protected]
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: ./coverage.xml
verbose: true
flags: unittests
fail_ci_if_error: true