freedomofpress / dangerzone

Take potentially dangerous PDFs, office documents, or images and convert them to safe PDFs
https://dangerzone.rocks/
GNU Affero General Public License v3.0
3.59k stars 170 forks source link

ci: Test official installation instructions #655

Closed apyrgio closed 9 months ago

apyrgio commented 9 months ago

Create a new GitHub Actions workflow which aims to continuously test our official installation instructions. The way we do it is the following:

  1. Create two jobs, one for the Debian-based distros, and one for Fedora ones.
  2. Copy the instructions from INSTALL.md into each job.
  3. Create a matrix that runs the installation jobs in parallel, for each supported distro and version.

The jobs will run only on 00:00 UTC, and not on every PR, since it wouldn't make sense otherwise.

Fix #653

NOTE: The committed code does not enable runs of this CI job on pull requests. Here's the latest successful run instead: https://github.com/freedomofpress/dangerzone/actions/runs/7168694646

eloquence commented 9 months ago

LGTM, thanks :)

apyrgio commented 9 months ago

Oh, I never got to comment on your general point regarding keep the two files in sync. I agree with having a PULL REQUEST template, even if it's very short for the time being :+1: