Adapt CI pipeline from quantify-os/ci
Explanation of changes
This is a follow-up from quantify-core!328 (merged).
Motivation of changes
This MR will:
- Unify CI pipeline for core and scheduler (this is literally the same code now, stored in quantify-os/ci).
- Formally bump support of Python 3.9 and 3.10 and drop 3.7.
Merge checklist
See also merge request guidelines
-
Merge request has been reviewed and approved by a project maintainer. -
Merge request contains a clear description of the proposed changes and the issue it addresses. -
Merge request made onto appropriate branch (main for most MRs). -
New code is fully tested. -
New code is documented and docstrings use numpydoc format. -
CHANGELOG.rst
andAUTHORS.rst
have been updated (when applicable). -
CI pipelines pass -
pre-commit run --all-files --hook-stage commit
passes (gitlab-ci), - test suite passes (gitlab-ci),
- no degradation in code-coverage (codacy),
- no (serious) new pylint code quality issues introduced (codacy),
- documentation builds successfully (CI and readthedocs),
-
windows tests pass (manually triggered by maintainers before merging).
-
For reference, the issues workflow is described in the contribution guidelines.
Edited by Viacheslav Ostroukh