qiskit-community / qiskit-algorithms

A library of quantum algorithms for Qiskit.
https://qiskit-community.github.io/qiskit-algorithms/
Apache License 2.0
116 stars 59 forks source link

Add unit test jobs with Qiskit main #101

Closed woodsp-ibm closed 1 year ago

woodsp-ibm commented 1 year ago

Summary

Adds jobs (Ubuntu at min/max python supported versions - 3.8 and 3.11) which test Qiskit Algorithms against Qsikit main dev branch to give insight into into any breaking changes. Breaking changes are expected in Qiskit 1.0 so this will enable monitoring of the main dev branch to see if any failures occur that do not against the stable released version used elsewhere in the main tests here.

These new jobs will not be added to the branch rules but its expected that failures be investigated and action taken accordingly. Not all failures may be compatibility/breaking changes but may be due to the fact the Qiskit CI has occasional failures, say due to changes in dependents, but the reason can be uncovered by investigating the build output from the jobs etc.

Details and comments

As this is more to monitor things I chose to not create any artifacts from these jobs, rather as the log files themselves can be consulted.

The logic in this new section is much like the main Algorithms section but cut down on the matrix, uses Qiskit main rather than stable, and no deprecation extraction, coverage or atrifacts uploaded.

coveralls commented 1 year ago

Pull Request Test Coverage Report for Build 6817765660


Totals Coverage Status
Change from base Build 6799856468: 0.0%
Covered Lines: 6464
Relevant Lines: 7137

💛 - Coveralls
woodsp-ibm commented 1 year ago

I had deliberately not used exactly 'main' to check it skipped as expected. It did (I had 'mainx')

Update: well it skipped more because the test overall was incorrect - after making it 'main' it still did not run!

image