ci adjustments

This commit is contained in:
tcely
2026-05-18 02:10:05 -04:00
parent 2dc949878e
commit 6bd08ee8a3
2 changed files with 9 additions and 2 deletions

View File

@@ -80,6 +80,12 @@ jobs:
fail-fast: false fail-fast: false
matrix: matrix:
python-version: ['3.12', '3.13', '3.14'] python-version: ['3.12', '3.13', '3.14']
services:
hat-syslog:
image: bozokopic/hat-syslog
ports:
- 127.0.0.1:6514:6514/tcp
- 127.0.0.1:6514:6514/udp
steps: steps:
- uses: actions/checkout@v6 - uses: actions/checkout@v6
- name: Install Python ${{ matrix.python-version }} - name: Install Python ${{ matrix.python-version }}
@@ -151,6 +157,7 @@ jobs:
--output-format github \ --output-format github \
--ignore "${ignore_csv_list}" --ignore "${ignore_csv_list}"
- name: Run Django tests - name: Run Django tests
timeout-minutes: 5
run: cd tubesync && TUBESYNC_DEBUG=True python3 -B -W default manage.py test --no-input --buffer --verbosity=2 run: cd tubesync && TUBESYNC_DEBUG=True python3 -B -W default manage.py test --no-input --buffer --verbosity=2
containerise: containerise:
@@ -188,7 +195,7 @@ jobs:
'ghcr.io/${{ needs.info.outputs.lowercase-github-repository_owner }}/${{ env.IMAGE_NAME }}:dive' \ 'ghcr.io/${{ needs.info.outputs.lowercase-github-repository_owner }}/${{ env.IMAGE_NAME }}:dive' \
--ci \ --ci \
--highestUserWastedPercent '0.08' \ --highestUserWastedPercent '0.08' \
--highestWastedBytes '50M' --highestWastedBytes '60M'
docker-image: docker-image:
if: ${{ !cancelled() && 'success' == needs.info.result && 'success' == needs.containerise.result }} if: ${{ !cancelled() && 'success' == needs.info.result && 'success' == needs.containerise.result }}

View File

@@ -62,7 +62,7 @@ ENV DEBIAN_FRONTEND="noninteractive" \
PIP_NO_COMPILE=1 \ PIP_NO_COMPILE=1 \
PIP_ROOT_USER_ACTION='ignore' PIP_ROOT_USER_ACTION='ignore'
COPY --from=tubesync-etc /etc/debconf.conf /etc/debconf.conf #COPY --from=tubesync-etc /etc/debconf.conf /etc/debconf.conf
RUN --mount=type=cache,id=apt-lib-cache-${TARGETARCH},sharing=private,target=/var/lib/apt \ RUN --mount=type=cache,id=apt-lib-cache-${TARGETARCH},sharing=private,target=/var/lib/apt \
--mount=type=cache,id=apt-cache-cache,sharing=private,target=/var/cache/apt \ --mount=type=cache,id=apt-cache-cache,sharing=private,target=/var/cache/apt \