1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-12-28 21:23:09 +00:00
Commit Graph

7 Commits

Author SHA1 Message Date
Adam Williamson
f63f87228a Set perl CI back to latest-container
Now latest-container is Fedora 36, this should be good.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-08-05 09:28:02 -07:00
Adam Williamson
1a65993d36 Add a perltidy check and apply it to the entire codebase
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-07-28 14:38:38 -07:00
Adam Williamson
57789300c5 CI: use fedora-latest-container nodeset
We don't need a VM, container should be fine, and 'latest' means
we don't have to keep bumping this as new releases come out.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-11-18 15:25:53 -08:00
Adam Williamson
138ca2bcf6 CI config: update to Fedora 35 and add Python 3.10
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-11-12 12:23:54 -08:00
Adam Williamson
1eb4e3dca5 Add perl syntax check test, add it to CI
Inspired by openQA's 01-compile-check-all.t, this adds a perl
test which checks the syntax of main.pm and all lib and test
files, and hooks it up to CI. Requires os-autoinst and
perl-Test-Strict.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-02-13 15:28:09 -08:00
Adam Williamson
214f2cc8eb Add fifloader tests, template schemas, update README
This adds a test suite for fifloader (renamed fifloader.py for
test sanity). It adds JSON Schema form schemas for both FIF and
upstream openQA template data, and has fifloader (optionally,
but by default) validate both input and output data against the
schemas. It also adds a tox.ini configured to run the fifloader
tests, use fifloader to validate the template files, and do diff
coverage and lint checks. It also adjusts the Zuul config to run
tox instead of the test job.

There are also some pylint cleanups, since the new tests run
pylint.

fifcheck, fifconverter and tojson.pm are removed, as they were
mainly only needed for one-time conversion of the old format
templates; now they are in the git history we can always recover
them if we need them.

Along with all this I updated the README a bit to explain some
of it (and explain FIF better), and to explicitly state that this
repo is GPLv2+ licensed, and added GPL headers to some of the
files.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-01-29 22:45:38 -08:00
Tristan Cacqueray
7b9a4306cd Add Zuul CI configuration 2020-01-27 13:34:31 +00:00