Skip to content

Commit

Permalink
Add pygobject to the CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Lord-Kamina committed Aug 28, 2024
1 parent 90050ba commit 182eda4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:

- name: Install dependencies
run: |
sudo apt-get install libcairo2-dev libgirepository1.0-dev
sudo apt-get install libcairo2-dev libgirepository1.0-dev python3-gi gir1.2-gtk-3.0 gir1.2-gdkpixbuf-2.0
pip install --upgrade pip wheel setuptools
pip install -r requirements-ci.txt
pip install -e .
Expand Down Expand Up @@ -122,7 +122,8 @@ jobs:
pip install -e .
- name: Test with pytest
shell: bash
run: |
python -c 'import libtorrent as lt; print(lt.__version__)';
python -c 'from twisted.internet import gireactor; reactor = gireactor.install()'
python -v -c "import pytest; retcode = pytest.main(['--full-trace','--showlocals','-vvv','-ra','-m "not (todo or security)"','deluge']); print(f'pytest returned: {retcode}')";
python -v -c "import pytest; retcode = pytest.main(['--full-trace','--showlocals','-vvv','-ra','-m \'not (todo or security)\'','deluge']); print(f'pytest returned: {retcode}')";
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -546,6 +546,7 @@ def run(self):
# https://github.com/pypa/setuptools/issues/1510
'pyasn1',
'rencode',
'pygobject',
'pyopenssl',
'pyxdg',
'mako',
Expand Down

0 comments on commit 182eda4

Please sign in to comment.