diff options
author | sebres <info@sebres.de> | 2022-06-21 17:05:39 +0200 |
---|---|---|
committer | sebres <info@sebres.de> | 2022-06-21 17:05:39 +0200 |
commit | 15f5c36a170f33c62ad9c48826ac37d8179d16e4 (patch) | |
tree | 6b61f1c214cab84b28ab4952e04b1466a43e9c35 /.github | |
parent | 4337e366163278815ea9fc6c952bffb579e885a0 (diff) | |
download | fail2ban-15f5c36a170f33c62ad9c48826ac37d8179d16e4.tar.gz |
skip test if readline module missing (add it as optional module installs in GHA workflow)
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/main.yml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 09fa1edb..50c49c80 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -61,6 +61,8 @@ jobs: #sudo apt-get -y install python${F2B_PY/2/}-systemd || echo 'systemd not available' sudo apt-get -y install libsystemd-dev || echo 'systemd dependencies seems to be unavailable' python -m pip install systemd-python || echo 'systemd not available' + #readline if available as module: + python -c 'import readline' 2> /dev/null || python -m pip install readline || echo 'readline not available' - name: Before scripts run: | |