Skip to content

Commit

Permalink
CI: check if man page was installed correctly.
Browse files Browse the repository at this point in the history
  • Loading branch information
jwilk committed Mar 23, 2024
1 parent 1aaf039 commit ffbf859
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
printf 'Apt::Install-Recommends "false";\n' | tee -a /etc/apt/apt.conf
apt-get update
apt-get install -y python3-gi-cairo gir1.2-pango-1.0
apt-get install -y make perl
apt-get install -y make perl man-db
- name: set up PATH
run: |
PATH="$PATH:$HOME/.local/bin"
Expand All @@ -40,6 +40,11 @@ jobs:
run: |
cd /
command -v ubanner
- name: check whether the man page was installed correctly
run: |
cd /
export MANPATH="$HOME/.local/share/man" MANWIDTH=80
man 1 ubanner | grep -A 10 -w UBANNER
- name: run post-install tests
run: |
mv ubanner ubanner.bak
Expand Down

0 comments on commit ffbf859

Please sign in to comment.