Arrow keys "up" & "down" added in presentation mode #219
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
branches: [ "master" ] | |
pull_request: | |
branches: [ "master" ] | |
workflow_dispatch: | |
jobs: | |
tests: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: "3.10" | |
cache: "pip" | |
cache-dependency-path: "**/setup.py" | |
- name: Install Python dependencies | |
run: | | |
python3 setup.py egg_info | |
pip install -r pyradium.egg-info/requires.txt | |
pip install pylint | |
- name: Update apt repository list | |
run: sudo apt-get update | |
- name: Install Linux dependencies | |
run: sudo apt-get install texlive texlive-latex-extra ghostscript imagemagick inkscape gnuplot inotify-tools graphviz fontconfig qrencode | |
- name: Run all testcases | |
run: python3 -m unittest pyradium.tests | |
- name: Ensure no critical linter issues exist | |
run: scripts/lint_critical | |
- name: Store the SSH deployment key locally | |
run: | | |
mkdir -p ~/.ssh | |
echo "${{ secrets.DOCS_DEPLOYMENT_SSH_KEY }}" >~/.ssh/id_ed25519 | |
echo >>~/.ssh/id_ed25519 | |
chmod 600 ~/.ssh/id_ed25519 | |
- name: Clone the documentation Github repository | |
run: git clone [email protected]:johndoe31415/pyradium-docs | |
- name: Remove the files inside the document Github repository | |
run: rm -fr pyradium-docs/* | |
- name: Build the example presentation | |
run: ./pyradium.py render -f -I examples/sub examples/example.xml -R pyradium-docs/customfiles:customfiles/ pyradium-docs -vvv --trustworthy-source --allow-missing-svg-fonts | |
- name: Commit and push the updated documentation | |
run: | | |
cd pyradium-docs | |
git config --global user.email "nobody@invalid" | |
git config --global user.name "pyradium CI" | |
git add * | |
git commit -a -m "CI job updated, rendered using ${GITHUB_SHA}" | |
git push |