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
6 changes: 3 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,14 +98,14 @@ jobs:

- name: Install runtime + test dependencies
# Install from the pinned lock file for deterministic dependency
# resolution (closes #47). pytest is added on top — it is not in
# requirements-lock.txt because it is a dev-only dep. pywebview is
# resolution (closes #47). pytest and hypothesis are added on top — not in
# requirements-lock.txt (dev-only). pywebview is
# the desktop-launcher dep and pulls GTK / Qt system libraries on
# Linux — intentionally excluded from the CI unittest matrix.
run: |
python -m pip install --upgrade pip
python -m pip install -r requirements-lock.txt
python -m pip install 'pytest>=8,<9'
python -m pip install 'pytest>=8,<9' 'hypothesis>=6.100,<7'

- name: Run unittest suite
run: python -m unittest discover tests -v
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,4 @@ Thumbs.db
.coverage
htmlcov/
coverage.xml
.hypothesis/
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,12 @@ source venv/bin/activate
pip install -r requirements.txt
```

For development (pytest, mypy, Hypothesis property tests):

```bash
pip install -e ".[dev]"
```

For reproducible installs (same versions as CI), use the pinned lock file:

```bash
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ desktop = ["pywebview>=5.0,<6"]
dev = [
"pytest>=8,<9",
"mypy>=1.10,<2",
"hypothesis>=6.100,<7",
]

[project.scripts]
Expand Down
Loading
Loading