Add Fedora 41 and remove Fedora 39 from tests (v5)

Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
This commit is contained in:
RD WebDesign 2024-11-12 16:54:09 -03:00
parent 7128c18b4c
commit f126dc5e2f
No known key found for this signature in database
GPG key ID: AE3C7FC910687F33
3 changed files with 3 additions and 3 deletions

View file

@ -57,8 +57,8 @@ jobs:
ubuntu_23, ubuntu_23,
ubuntu_24, ubuntu_24,
centos_9, centos_9,
fedora_39,
fedora_40, fedora_40,
fedora_41,
] ]
env: env:
DISTRO: ${{matrix.distro}} DISTRO: ${{matrix.distro}}

View file

@ -1,4 +1,4 @@
FROM fedora:39 FROM fedora:41
RUN dnf install -y git initscripts RUN dnf install -y git initscripts
ENV GITDIR /etc/.pihole ENV GITDIR /etc/.pihole

View file

@ -4,5 +4,5 @@ envlist = py3
[testenv] [testenv]
allowlist_externals = docker allowlist_externals = docker
deps = -rrequirements.txt deps = -rrequirements.txt
commands = docker buildx build --load --progress plain -f _fedora_39.Dockerfile -t pytest_pihole:test_container ../ commands = docker buildx build --load --progress plain -f _fedora_41.Dockerfile -t pytest_pihole:test_container ../
pytest {posargs:-vv -n auto} ./test_any_automated_install.py ./test_any_utils.py ./test_centos_fedora_common_support.py ./test_fedora_support.py pytest {posargs:-vv -n auto} ./test_any_automated_install.py ./test_any_utils.py ./test_centos_fedora_common_support.py ./test_fedora_support.py