Make cutycapt work offscreen for github CI.

This commit is contained in:
Julien Palard 2022-09-15 18:24:26 +02:00
parent 34752b75ad
commit af6ea00f40
Signed by: mdk
GPG Key ID: 0EFC1AC1006886F8
2 changed files with 2 additions and 2 deletions

View File

@ -44,4 +44,4 @@ jobs:
make -C drf-initiation rsync
make -C django-initiation rsync
sudo apt-get install -y cutycapt
make -C python-perfs rsync
QT_QPA_PLATFORM=offscreen make -C python-perfs rsync

View File

@ -386,7 +386,7 @@ python -m snakeviz phi5.prof
$ python -m pip install scalene
#!python -m pip install scalene >/dev/null 2>&1
$ scalene phi5.py 100000
#!if [ ! -f .cache/phi5.html ]; then scalene phi5.py 100000 --html --outfile .cache/phi5.html --cli >/dev/null 2>&1; fi
#!if [ ! -f .cache/phi5.html ]; then scalene include/phi5.py 100000 --html --outfile .cache/phi5.html --cli >/dev/null 2>&1; fi
#!if [ ! -f .cache/phi5-scalene.png ]; then cutycapt --min-width=1024 --delay=100 --url=file://$(pwd)/.cache/phi5.html --out=.cache/phi5-scalene.png; fi
```