added latest LTS to test matrix

pull/348/head
Rui Carmo 2024-06-10 14:58:01 +01:00
rodzic 0e1e8c93a3
commit 19075efb93
3 zmienionych plików z 71 dodań i 1 usunięć

Wyświetl plik

@ -0,0 +1,35 @@
FROM debian:bookworm
ENV DEBIAN_FRONTEND=noninteractive
# Install the minimum amount of packages required for testing, which currently means:
# - minimal set of packages required to run Python 3
# - shipping versions of uWSGI and nginx (so that config files are put in the right places)
# Also, make sure we have a sane default locale inside the container
RUN apt-get update \
&& apt-get dist-upgrade -y \
&& apt-get install -y --no-install-recommends \
apt-utils \
ca-certificates \
locales \
curl \
tzdata \
git \
build-essential \
git \
nginx \
python3-pip \
python3-click \
python3-virtualenv \
uwsgi \
uwsgi-plugin-asyncio-python3 \
uwsgi-plugin-python3 \
&& locale-gen en_US.UTF-8
ENV LC_ALL=en_US.UTF-8
ENV LANG=en_US.UTF-8
VOLUME ["/run"]
CMD ["/usr/bin/python3", "/run/piku.py"]

Wyświetl plik

@ -0,0 +1,35 @@
FROM ubuntu:noble
ENV DEBIAN_FRONTEND=noninteractive
# Install the minimum amount of packages required for testing, which currently means:
# - minimal set of packages required to run Python 3
# - shipping versions of uWSGI and nginx (so that config files are put in the right places)
# Also, make sure we have a sane default locale inside the container
RUN apt-get update \
&& apt-get dist-upgrade -y \
&& apt-get install -y --no-install-recommends \
apt-utils \
ca-certificates \
locales \
curl \
tzdata \
git \
build-essential \
git \
nginx \
python3-pip \
python3-click \
python3-virtualenv \
uwsgi \
uwsgi-plugin-asyncio-python3 \
uwsgi-plugin-python3 \
&& locale-gen en_US.UTF-8
ENV LC_ALL=en_US.UTF-8
ENV LANG=en_US.UTF-8
VOLUME ["/run"]
CMD ["/usr/bin/python3", "/run/piku.py"]

Wyświetl plik

@ -8,7 +8,7 @@ jobs:
strategy:
max-parallel: 4
matrix:
distro: [ buster, jammy, focal, bullseye ]
distro: [ bookworm, bullseye, buster, noble, jammy, focal ]
steps:
- uses: actions/checkout@v3