Skip to content

Add unit test for integer loop limits #58

Add unit test for integer loop limits

Add unit test for integer loop limits #58

Workflow file for this run

name: Measure code coverage
on:
push:
paths:
- 'tests/**'
pull_request:
branches:
- 'main'
paths:
- 'tests/**'
jobs:
code-coverage:
name: Code Coverage
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Install dependencies
run: |
sudo apt -qq update
sudo apt -qq install -y graphviz
pip3 install -r requirements.txt
pip3 install coverage --upgrade
- name: Run Coverage.py
run: |
coverage run --omit=tests/*,pfdl_scheduler/parser/PFDL* -m unittest discover -s tests/unit_test
coverage report
coverage json
coverage html