Skip to content

fix lxml versions

fix lxml versions #27

Workflow file for this run

name: CI
on:
- push
- pull_request
- workflow_dispatch
jobs:
main:
strategy:
matrix:
python: [3.7, 3.8, 3.9, '3.10', '3.11']
fail-fast: false
runs-on: ubuntu-latest
name: Python ${{ matrix.python }}
steps:
- uses: actions/checkout@v4
- name: set up Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python }}
- name: apt update
run:
sudo apt-get update
- name: apt install pdfgrep
run:
sudo apt-get install pdfgrep
- name: prepare pip
run:
python -m pip install --upgrade pip wheel
- name: install package
run: |
python -m pip install -r requirements.txt
python -m pip install .[dev]
- name: run tests
run:
python -m unittest discover --verbose --start-directory tests
- name: install flake8
run:
python -m pip install flake8 pep8-naming
- name: run pycodestyle
run:
flake8