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
14 changes: 7 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,12 +91,12 @@ jobs:
echo "XDG_RUNTIME_DIR=/tmp" >> $GITHUB_ENV
- name: Install Python dependencies
run: |
pip install .[ci]
pip install -e .[ci]
python pywayland/ffi_build.py
python -m pywayland.scanner --with-protocols
- name: Run unit tests
run: |
pip install .[test]
pip install -e .[test]
pytest --cov pywayland --cov-report term-missing
- name: Push coverage
run: coveralls --service=github
Expand Down Expand Up @@ -139,12 +139,12 @@ jobs:
echo "XDG_RUNTIME_DIR=/tmp" >> $GITHUB_ENV
- name: Install Python dependencies
run: |
pip install .[ci]
pip install -e .[ci]
python pywayland/ffi_build.py
python -m pywayland.scanner --with-protocols
- name: Build docs
run: |
pip install .[docs]
pip install -e .[docs]
sphinx-build -W -b html doc doc/_build/html
pre-commit-test:
name: pre-commit test
Expand All @@ -171,7 +171,7 @@ jobs:
echo "XDG_RUNTIME_DIR=/tmp" >> $GITHUB_ENV
- name: Install Python dependencies
run: |
pip install .[ci]
pip install -e .[ci]
python pywayland/ffi_build.py
python -m pywayland.scanner --with-protocols
- name: Run pre-commit test
Expand Down Expand Up @@ -201,12 +201,12 @@ jobs:
echo "XDG_RUNTIME_DIR=/tmp" >> $GITHUB_ENV
- name: Install Python dependencies
run: |
pip install .[ci]
pip install -e .[ci]
python pywayland/ffi_build.py
python -m pywayland.scanner --with-protocols
- name: Run packaging test
run: |
pip install .[packaging]
pip install -e .[packaging]
check-manifest
python setup.py check -m -s
python -m build --sdist
Expand Down
1 change: 1 addition & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,5 @@ repos:
rev: v1.18.2
hooks:
- id: mypy
args: []
files: "^(pywayland|example)\/.*"
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ ci = ["setuptools>=77.0.0"]
test = [
"pytest",
"pytest-cov",
"coverage>=6.5.0",
"coveralls>=3.3.1",
"coverage>=7.13.0",
"coveralls>=4.0.2",
]
docs = [
"sphinx",
Expand Down