Ericsson / CodeCompass

CodeCompass is a software comprehension tool for large scale software written in C/C++ and Java
https://codecompass.net
GNU General Public License v3.0
520 stars 102 forks source link

Fix PostgreSql version conflict issue in GitHub Actions CI #551

Closed mcserep closed 2 years ago

mcserep commented 2 years ago

The virtual environments of GitHub Actions are not clean OS installments, but contain many preinstalled software, even from PPAs.
Recently the Ubuntu 18.04 image contains PostgreSQL 14, which is incompatible with version 10 installed by the CI script of CodeCompass.

As a resolution, the default Postgresql version for Ubuntu 18 in GitHub Actions is removed.
(Using PostgreSQL 14 would also work, but in that case the virtual environment would differ from the documentation, possibly hiding potential failures in the future.)