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
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
- '.github/workflows/ci.yml'
python:
- 'py_src/**'
- 'tests/python/**'
- 'tests/**'
- 'pyproject.toml'
- 'uv.lock'
- 'crates/**'
Expand Down Expand Up @@ -84,7 +84,7 @@ jobs:
run: uv run ruff format --check py_src/ tests/

- name: Type-check Python with mypy
run: uv run mypy py_src/taskito/ tests/python/ --no-incremental
run: uv run mypy py_src/taskito/ tests/ --no-incremental

rust-test:
name: Rust Tests (SQLite)
Expand Down Expand Up @@ -254,10 +254,10 @@ jobs:
args: --release --features extension-module,postgres,redis,native-async,workflows

- name: Run Python test suite
# The pytest_unconfigure hook in tests/python/conftest.py calls
# The pytest_unconfigure hook in tests/conftest.py calls
# ``os._exit(0)`` on a clean run to bypass CPython finalization and
# avoid the PyO3 daemon-thread SIGABRT we used to paper over here.
run: uv run python -m pytest tests/python/ -v --junitxml=test-results.xml
run: uv run python -m pytest tests/ -v --junitxml=test-results.xml

ci-status:
name: CI status
Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ repos:

- id: mypy
name: mypy (py_src + tests)
entry: uv run mypy py_src/taskito/ tests/python/ --no-incremental
entry: uv run mypy py_src/taskito/ tests/ --no-incremental
language: system
types: [python]
pass_filenames: false
Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ Python-only changes don't require a rebuild.
### Python Tests

```bash
pytest tests/python/
pytest tests/
```

### Rust Tests
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 @@ taskito = "taskito.cli:main"

[tool.pytest.ini_options]
asyncio_mode = "auto"
testpaths = ["tests/python"]
testpaths = ["tests"]

# -- Ruff --

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Empty file.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.