Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix testing pipeline #146

Merged
merged 1 commit into from
Jun 4, 2023
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
3 changes: 1 addition & 2 deletions .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,14 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip setuptools wheel
pip install .[tests]
pip install -r requirements.txt

- name: Check black formatting
uses: psf/black@stable

- name: Lint with mypy
if: ${{ matrix.python-version == '3.9' }} # only lint last Python version
run: |
pip install mypy PyQt5-stubs types-pkg-resources types-setuptools
mypy labelCloud/.

- name: Test with pytest
Expand Down
14 changes: 7 additions & 7 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
numpy~=1.23.2
open3d~=0.15.1
PyOpenGL~=3.1.6
numpy>=1.21.6
open3d>=0.15.2
PyOpenGL==3.1.6 # prevents 'NoneType' object has no attribute 'glGetError'
PyOpenGL-accelerate~=3.1.5
PyQt5~=5.15.7

# Testing
pytest~=7.1.2
pytest-qt~=4.1.0
pytest~=7.3.1
pytest-qt~=4.2.0

# Development
black~=23.1.0
mypy~=0.971
mypy~=1.3.0
PyQt5-stubs~=5.15.6
types-setuptools~=57.4.17
types-setuptools~=67.8.0
types-pkg-resources~=0.1.3