File tree Expand file tree Collapse file tree 1 file changed +14
-5
lines changed Expand file tree Collapse file tree 1 file changed +14
-5
lines changed Original file line number Diff line number Diff line change @@ -18,18 +18,19 @@ jobs:
18
18
python-version : 3.6
19
19
- name : Install dependencies
20
20
run : |
21
- sudo apt-get update
22
- sudo apt-get install \
21
+ sudo apt update
22
+ sudo apt install \
23
23
fontconfig \
24
24
libgeos++-dev \
25
- libproj-dev
25
+ libproj-dev \
26
+ poppler-utils
26
27
python -m pip install --upgrade pip
27
28
pip install -r requirements/requirements-base.txt
28
29
pip install -r requirements/requirements.txt
29
30
- name : Install Tex Live
30
31
run : |
31
- sudo apt-get update
32
- sudo apt-get install \
32
+ sudo apt update
33
+ sudo apt install \
33
34
texlive-base \
34
35
texlive-extra-utils \
35
36
texlive-fonts-extra \
45
46
cp -r fonts/ /usr/share/fonts/
46
47
fc-cache
47
48
make figures cheatsheets handouts
49
+ - name : Check layouts
50
+ run : |
51
+ set -x
52
+ [[ "$(pdfinfo cheatsheets.pdf | grep Pages | awk '{print $2}')" == "2" ]] || exit 1
53
+ [[ "$(pdfinfo handout-tips.pdf | grep Pages | awk '{print $2}')" == "1" ]] || exit 1
54
+ [[ "$(pdfinfo handout-beginner.pdf | grep Pages | awk '{print $2}')" == "1" ]] || exit 1
55
+ [[ "$(pdfinfo handout-intermediate.pdf | grep Pages | awk '{print $2}')" == "1" ]] || exit 1
48
56
- uses : actions/upload-artifact@v2
57
+ if : ${{ always() }}
49
58
with :
50
59
name : build
51
60
path : |
You can’t perform that action at this time.
0 commit comments