Set up job to run tests in GitLab CI
Set up a job in GitLab CI that runs the test suite. The job should be configured to run the tests when code is committed to the master branch of the repository or a MR is submitted.
The job should also make a report of the test suite available (preferably HTML).
Acceptance Criteria:
-
The test suite is run on GitLab CI when a change is pushed to master -
The test suite is run on GitLab CI when a MR is sent -
Add a badge to the README that shows the status of the CI build -
A test suite report is available in the CI artifacts, ideally browsable from the GitLab interface -
Document the CI setup in contributing.adoc -
Document how to skip CI in contributing.adoc
Reminder:
Enable the following flag in the project configuration once the pipeline is working:
Only allow merge requests to be merged if the pipeline succeeds
Edited by Dan Allen