Skip to content

Commit de0e17d

Browse files
committed
ci: install libfreetype6-dev for reportlab build in gh actions
1 parent c0c7522 commit de0e17d

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
},
4848
{
4949
"name": "Set up packages",
50-
"run": "set -e\n\npip install -U pip setuptools wheel\npip install -U \\\n pre-commit coveralls pyyaml pytest-django\npip install -U -r requirements.txt\n\necho \"PATH=$PATH\" >> $GITHUB_ENV\n"
50+
"run": "set -e\n\nsudo apt-get update\nsudo apt-get install -y libfreetype6-dev\n\npip install -U pip setuptools wheel\npip install -U \\\n pre-commit coveralls pyyaml pytest-django\npip install -U -r requirements.txt\n\necho \"PATH=$PATH\" >> $GITHUB_ENV\n"
5151
},
5252
{
5353
"name": "Copy secret.py",
@@ -94,7 +94,7 @@
9494
},
9595
{
9696
"name": "Set up packages",
97-
"run": "set -e\n\npip install -U pip setuptools wheel\npip install -U \\\n pre-commit coveralls pyyaml pytest-django\npip install -U -r requirements.txt\n\necho \"PATH=$PATH\" >> $GITHUB_ENV\n"
97+
"run": "set -e\n\nsudo apt-get update\nsudo apt-get install -y libfreetype6-dev\n\npip install -U pip setuptools wheel\npip install -U \\\n pre-commit coveralls pyyaml pytest-django\npip install -U -r requirements.txt\n\necho \"PATH=$PATH\" >> $GITHUB_ENV\n"
9898
},
9999
{
100100
"name": "Copy secret.py",
@@ -203,7 +203,7 @@
203203
},
204204
{
205205
"name": "Set up packages",
206-
"run": "set -e\n\npip install -U pip setuptools wheel\npip install -U \\\n pre-commit coveralls pyyaml pytest-django\npip install -U -r requirements.txt\n\necho \"PATH=$PATH\" >> $GITHUB_ENV\n"
206+
"run": "set -e\n\nsudo apt-get update\nsudo apt-get install -y libfreetype6-dev\n\npip install -U pip setuptools wheel\npip install -U \\\n pre-commit coveralls pyyaml pytest-django\npip install -U -r requirements.txt\n\necho \"PATH=$PATH\" >> $GITHUB_ENV\n"
207207
},
208208
{
209209
"name": "Copy secret.py",

ci/spec.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,9 @@ env:
5555
run: |
5656
set -e
5757
58+
sudo apt-get update
59+
sudo apt-get install -y libfreetype6-dev
60+
5861
pip install -U pip setuptools wheel
5962
pip install -U \
6063
pre-commit coveralls pyyaml pytest-django

0 commit comments

Comments
 (0)