Skip to content

Remove couple of lint checks and modify another, add CSS to core to support new hgroup definition #1845

Remove couple of lint checks and modify another, add CSS to core to support new hgroup definition

Remove couple of lint checks and modify another, add CSS to core to support new hgroup definition #1845

Workflow file for this run

name: Standard Ebooks toolset tests
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.x'
- name: Install Ubuntu packages
run: |
sudo apt update
sudo apt install calibre default-jre git python3-venv
- name: Install pipx packages
run: |
pipx install .
pipx inject standardebooks pylint==2.17.3 pytest==7.3.1 mypy==1.2.0 types-requests==2.28.11.17 types-setuptools==67.7.0.0
- name: Check type annotations with mypy
run: $PIPX_HOME/venvs/standardebooks/bin/mypy
- name: Check code with pylint
run: $PIPX_HOME/venvs/standardebooks/bin/pylint tests/*.py se
- name: Test with pytest
run: $PIPX_HOME/venvs/standardebooks/bin/pytest