Skip to content

Commit b8c1f1a

Browse files
authored
Merge pull request #29 from maresb/import-gui
Add a test to ensure that the GUI module is importable
2 parents 2850bf1 + 5bcc202 commit b8c1f1a

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

.github/workflows/tests.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ jobs:
2121
python-version: ${{ matrix.python-version }}
2222
- name: Install dependencies
2323
run: |
24+
sudo apt-get install -y libegl1
2425
python -m pip install --upgrade pip
2526
pip install tox tox-gh-actions
2627
- name: Test with tox

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ commands =
8383
pip freeze
8484
labelle --version
8585
labelle --help
86+
python -c "import labelle.gui.gui; print('GUI import succeeded')"
8687
labelle --output console "single line"
8788
labelle --output console_inverted "inverted"
8889
labelle --output console multiple lines

0 commit comments

Comments
 (0)