diff options
author | sebres <serg.brester@sebres.de> | 2020-11-03 15:51:49 +0100 |
---|---|---|
committer | sebres <serg.brester@sebres.de> | 2020-11-03 16:00:27 +0100 |
commit | d533d31aa068395859d9ba8106539bca9fae7345 (patch) | |
tree | 904bfdee6fa6f5bca8ee80779e99ddf3dad158d0 | |
parent | 9d77fb2b4c5f4471e1abef0974c70c1ff622ff75 (diff) | |
download | fail2ban-test-gh-action-systemd.tar.gz |
attempt to install systemd-python moduletest-gh-action-systemd
-rw-r--r-- | .github/workflows/main.yml | 4 |
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: | |