Skip to content

Configuring Test Matrix

Endi S. Dewata edited this page Jun 15, 2021 · 10 revisions

Overview

By default the CI will perform tests against Fedora 33 and 34. Sometimes it’s necessary to test certain Fedora versions (e.g. 35, latest, rawhide). This can be done by configuring the test matrix in a secret called MATRIX in the forked project. The value needs to be specified in JSON format, and double quotes needs to be escaped. To reset the test matrix simply remove the secret.

Note
Currently there is a test that will only work in Fedora 34, so the test matrix needs to include "34".

Configuring Test Matrix

  • Go to SettingsSecrets.

  • Click New repository secret.

  • Enter MATRIX as the secret name.

  • Enter the test matrix as the secret value (see examples below).

  • Click Add secret

Examples

To test Fedora 34 and 35:

{\"os\": [\"34\", \"35\"]}

To test Fedora 34 only:

{\"os\": [\"34\"]}
Clone this wiki locally