mirror of https://github.com/fail2ban/fail2ban
main.yml: restore test systemd/journal for python >= 3.10
parent
4e326cb5cb
commit
36c890f15b
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue