6 Commits

Author SHA1 Message Date
Brendan Reilly
3c0c7d3029 Also run bandit during py3 unit tests 2022-03-22 13:55:27 -04:00
Hunor Csomortáni
8c0521cde3 Lint the integration tests with Python 3
The integration tests under 'tests/integration' are Python 3 only.
Flake8 will fail on Python 3 syntax when running under Python 2, but for
now we wouldn't like to change this, in order to keep Python 2
compatibility of the code base.

To work around the above, set up a separate tox environment to lint the
integration tests, and exclude linting the integration tests when the
rest of the code is checked.

Signed-off-by: Hunor Csomortáni <csomh@redhat.com>
2019-11-07 14:30:49 +01:00
Chenxiong Qi
e3b14beacc Allow to run tests in containers in parallel
Signed-off-by: Chenxiong Qi <cqi@redhat.com>
2019-08-07 21:45:07 +08:00
Chenxiong Qi
df66d4f1b2 Allow to run specific test in py3 test container
Signed-off-by: Chenxiong Qi <cqi@redhat.com>
2019-08-02 23:40:18 +08:00
Mike Bonnet
9c3d9bb441 MBS-Koji integration tests
This change introduces a set of Jenkins pipelines for building MBS
images and running integration tests against Koji using those images.
These pipelines are directly based on the WaiverDB pipeline work:

https://pagure.io/waiverdb/blob/master/f/openshift

The results of those tests are used to provide feedback to Pagure PRs
and to promote images through a series of environments, which may be
used to implement a continuous deployment process.

The current test cases, written in Groovy, are:
 - module-build-init: initate a module build and check that tags
   and targets in Koji are created correctly
 - module-build-cgimport: build an empty module and ensure that
   results are imported correctly into Koji, using the CGImport
   interface
2019-04-30 15:27:28 -07:00
Mike Bonnet
0b3d7809f9 test pull requests under Python 3 as well 2019-02-08 17:43:43 +00:00