Skip to content

Commit

Permalink
fix installation for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
FriedrichFroebel committed Jan 24, 2024
1 parent 0c82071 commit 44327f1
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,9 @@ jobs:
- name: build the extension in-place
run:
PYTHONWARNINGS=error::FutureWarning python setup.py build_ext --inplace
- name: install the package
run:
python -m pip install .[dev,examples]
- name: run tests
run:
LC_ALL=C python -m unittest discover tests/ -v
Expand All @@ -84,15 +87,17 @@ jobs:
- name: check reST syntax
run:
private/check-rst
- name: install flake8
run:
python -m pip install --upgrade flake8 pep8-naming
- name: run flake8
run:
python -m flake8 tests/ doc/ examples/ setup.py
- name: run pycodestyle
run:
python -m pycodestyle djvu/
- name: uninstall
run: |
cd /
pip uninstall -y python-djvulibre
set +e; python -c 'import djvu'; [ $? -eq 1 ]
- name: build sdist
run:
python setup.py sdist
Expand Down

0 comments on commit 44327f1

Please sign in to comment.