XanaduAI / thewalrus

A library for the calculation of hafnians, Hermite polynomials and Gaussian boson sampling.
https://the-walrus.readthedocs.io
Apache License 2.0
101 stars 55 forks source link

Fall back to using Ubuntu 18.04 for tests #227

Closed thisac closed 3 years ago

thisac commented 3 years ago

Context: The tests are not running due to Ubuntu 20.04 being the default version for the “ubuntu-latest” label, causing the installation of gcc-4.8 to fail, since it's no longer part of the distribution.

Description of the Change: ubuntu-latest is changed to ubuntu-18.04 so that gcc-4.8 can be installed correctly.

Benefits: Tests can run correctly.

Possible Drawbacks: We might want to either use a newer version of gcc in the future, or attempt to install it on ubuntu-latest, i.e. on Ubuntu 20.04.

Related GitHub Issues: None

codecov[bot] commented 3 years ago

Codecov Report

Merging #227 (5ef5bb9) into master (c7303f8) will not change coverage. The diff coverage is n/a.

@@            Coverage Diff            @@
##            master      #227   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           20        20           
  Lines         1191      1191           
=========================================
  Hits          1191      1191           

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update c7303f8...5ef5bb9. Read the comment docs.