sellorm / quarto-dist-tests

Very simple test of whether quarto will run on a specific Linux distribution

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Quarto distribution tests

Runs a simple test using Quarto to determine whether it will run on a variety of operating systems.

Running the tests

You must first set the QUARTO_VERSION environment variable to the version you want to test.

For example:

export QUARTO_VERSION=0.9.315

The tests are run using a Makefile, so running make in the project directory will build the required docker containers and then run the test in each.

make

Once you have the docker containers built you can just run the tests if you prefer.

make test

Example output:

* opensuse_153 pass
* rocky_8 pass
* ubuntu_22.04 pass
* ubuntu_20.04 pass
* ubuntu_18.04 pass
* centos_7 fail

About the tests

The tests themselves are very simple. We only test that Quarto properly displays it's help, using the command quarto --help.

If this passes we record a pass, otherwise we record a fail.

This seems like a very superficial test, but given that Quarto is built on top of deno, it gives us a good indication of whether the bundled version of deno will run on the target distribution.

About

Very simple test of whether quarto will run on a specific Linux distribution


Languages

Language:Shell 82.5%Language:Makefile 17.5%