Skip to content

fixed some more remnant issues of the last commit #267

fixed some more remnant issues of the last commit

fixed some more remnant issues of the last commit #267

Workflow file for this run

name: Run CI
on: [ push, pull_request ]
jobs:
build:
name: Run pylint and tests
runs-on: ubuntu-latest
steps:
- name: Checkout git repository including submodules
uses: actions/checkout@v4
with:
submodules: recursive
- name: Set up Python 3.10
uses: actions/setup-python@v5
with:
python-version: "3.10"
cache: "pip"
- name: Setup pip, install dependencies with test and linting requirements
run: |
python -m pip install --upgrade pip
pip install --upgrade -r ./tests/requirements_test.txt
pip install --force-reinstall -e .
- name: Analysing the code with black
run: |
black .
- name: Analysing the code with pylint
run: |
pylint . --rcfile .pylintrc
- name: Test using unittest and run coverage
run: |
TQDM_DISABLE=1 coverage run -m unittest discover -s ./tests/ -p "test__*.py"
- name: Create Coverage Report
run: |
coverage xml --quiet
coverage report