Skip to content

Commit

Permalink
github/README: add libcairo2-dev to test dependencies
Browse files Browse the repository at this point in the history
pygobject requires cairo by default [1]. Although there are some
documented environment variables to skip it, let's stick to the default
behavior and just add libcairo2-dev to the test dependencies.

[1] https://gitlab.gnome.org/GNOME/pygobject/-/issues/395

Signed-off-by: Bastian Krause <[email protected]>
  • Loading branch information
Bastian-Krause committed Dec 16, 2024
1 parent eae8d10 commit 8304c09
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:

- name: Install test dependencies
run: |
sudo apt-get install libgirepository1.0-dev nginx-full
sudo apt-get install libcairo2-dev libgirepository1.0-dev nginx-full
python -m pip install --upgrade pip
pip install -r test-requirements.txt
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ Test Suite
Prepare test suite:

```shell
$ sudo apt install libgirepository1.0-dev nginx-full
$ sudo apt install libcairo2-dev libgirepository1.0-dev nginx-full
$ python3 -m venv venv
$ source venv/bin/activate
(venv) $ pip install --upgrade pip
Expand Down

0 comments on commit 8304c09

Please sign in to comment.