Skip to content

add venv to gitignore #72

add venv to gitignore

add venv to gitignore #72

Workflow file for this run

name: coverage
on:
workflow_dispatch:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Install dependencies
run: |
sudo apt install python3-tk -y
python -m pip install --upgrade pip
pip install pytest pylint coverage
pip install -r requirements.txt
- name: Generate coverage
run: |
coverage run
- name: Generate JSON coverage report
run: |
coverage json
- name: Check coverage threshold
run: |
./check_coverage.py