marvel-nccr / ansible-role-aiida

An ansible role that installs and configures AiiDA on Ubuntu.
Other
2 stars 5 forks source link

Added Python 3 install for tests on CentOS #17

Closed espenfl closed 4 years ago

espenfl commented 4 years ago

We need to install Python 3 on CentOS 7 (Python 2 present) and 8 (no Python present). We do this with a simple test. If /usr/bin/python3 does not exist, we install it. This test should fail on Fedora and Ubuntu, which comes with Python 3 installed.

espenfl commented 4 years ago

Closing and opening a new PR as we drop the testing on CentOS 7 (requires custom Postgresql install etc.). We will only test CentOS 8.