diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e980ac7609..7f0a740f57 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 . @@ -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}')"; diff --git a/setup.py b/setup.py index 2f4c78083c..a22d3d334c 100755 --- a/setup.py +++ b/setup.py @@ -546,6 +546,7 @@ def run(self): # https://github.com/pypa/setuptools/issues/1510 'pyasn1', 'rencode', + 'pygobject', 'pyopenssl', 'pyxdg', 'mako',