summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsebres <serg.brester@sebres.de>2020-11-03 15:51:49 +0100
committersebres <serg.brester@sebres.de>2020-11-03 16:00:27 +0100
commitd533d31aa068395859d9ba8106539bca9fae7345 (patch)
tree904bfdee6fa6f5bca8ee80779e99ddf3dad158d0
parent9d77fb2b4c5f4471e1abef0974c70c1ff622ff75 (diff)
downloadfail2ban-test-gh-action-systemd.tar.gz
attempt to install systemd-python moduletest-gh-action-systemd
-rw-r--r--.github/workflows/main.yml4
1 files changed, 3 insertions, 1 deletions
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 154a75ae..7a1d31df 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -44,10 +44,12 @@ jobs:
- name: Install dependencies
run: |
+ python -m pip install --upgrade pip
if [[ "$F2B_PY" = 3 ]] && ! command -v 2to3x -v 2to3 > /dev/null; then
- python -m pip install --upgrade pip
pip install 2to3
fi
+ pip install systemd-python || echo 'systemd not available'
+ pip install pyinotify || echo 'inotify not available'
- name: Before scripts
run: |