Skip to content
Merged
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
7 changes: 5 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,11 @@ jobs:
make services-up
- name: Test
run: |
make test
make services-down
if [[ "${{ matrix.python-version }}" == pypy* ]]; then
SKIP_MYPY=1 make test
else
make test
fi
- name: Minimize uv cache
run: uv cache prune --ci
- name: Upload coverage reports to Codecov
Expand Down
8 changes: 6 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,12 @@ setup: develop
develop: install-dev-requirements install-test-requirements

types:
@echo "Type checking Python files"
$(VENV_PATH)/mypy --pretty
@if [ -n "$$SKIP_MYPY" ]; then \
echo "Skipping mypy types check because SKIP_MYPY is set"; \
else \
echo "Type checking Python files"; \
$(VENV_PATH)/mypy --pretty; \
fi
@echo ""

test: types
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ test = [
"fastapi",
"aiohttp",
"wait-for-it",
"mypy",
"mypy; platform_python_implementation!='PyPy'",
"types-decorator",
"types-requests",
"trio",
Expand Down