Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,12 @@ jobs:
python-version: ${{ matrix.python-version }}
cache: pip

- name: Install system deps (only PyPy)
if: startsWith(matrix.python-version, 'pypy')
run: |
sudo apt-get update
sudo apt-get install -y libjpeg-dev zlib1g-dev pkg-config

- name: Install dependencies
run: python -m pip install tox-gh-actions

Expand Down
3 changes: 1 addition & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,7 @@ testall:
tox

# DOC: Run tests for the currently installed version
# Remove cgi warning when dropping support for Django 3.2.
test:
mypy --ignore-missing-imports tests/test_typing.py
python \
-b \
-X dev \
Expand All @@ -77,6 +75,7 @@ lint:
$(FLAKE8) --ignore F401 $(PACKAGE)/__init__.py
$(ISORT) --check-only --diff $(EXAMPLES_DIR) $(PACKAGE) $(SETUP_PY) $(TESTS_DIR)
check-manifest
mypy --ignore-missing-imports tests/test_typing.py

coverage:
$(COVERAGE) erase
Expand Down