main.yml: restore test systemd/journal for python >= 3.10

test-3.13.0-alpha.2
Sergey G. Brester 2023-12-12 13:45:11 +01:00 committed by GitHub
parent 4e326cb5cb
commit 36c890f15b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 6 deletions

View File

@ -82,12 +82,7 @@ jobs:
- name: Test suite
run: |
#python setup.py test
if dpkg --compare-versions "$F2B_PYV" lt 3.10; then
python bin/fail2ban-testcases --verbosity=2
else
echo "Skip systemd backend since systemd-python module must be fixed for python >= v.3.10 in GHA ..."
python bin/fail2ban-testcases --verbosity=2 -i "[sS]ystemd|[jJ]ournal"
fi
python bin/fail2ban-testcases --verbosity=2
#- name: Test suite (debug some systemd tests only)
#run: python bin/fail2ban-testcases --verbosity=2 "[sS]ystemd|[jJ]ournal"