From 27ba9de80696bed7decafa51bc7a32e700911c9c Mon Sep 17 00:00:00 2001 From: David Davis Date: Sun, 14 Jun 2026 17:20:00 -0400 Subject: [PATCH] Build test image with pulp_workflow server plugin Assisted-By: GitHub Copilot (Claude Opus 4.8) --- .ci/assets/Containerfile | 7 +++++++ .github/workflows/test.yml | 8 ++++++-- pyproject.toml | 2 +- 3 files changed, 14 insertions(+), 3 deletions(-) create mode 100644 .ci/assets/Containerfile diff --git a/.ci/assets/Containerfile b/.ci/assets/Containerfile new file mode 100644 index 0000000..7313279 --- /dev/null +++ b/.ci/assets/Containerfile @@ -0,0 +1,7 @@ +ARG FROM_TAG="latest" +FROM ghcr.io/pulp/pulp:${FROM_TAG} + +ARG PULP_WORKFLOW_VERSION="" + +RUN pip3 install --upgrade \ + pulp-workflow${PULP_WORKFLOW_VERSION} diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 82e72a7..46741b1 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -18,11 +18,15 @@ jobs: matrix: include: - image_tag: "nightly" + from_tag: "nightly" + container_file: "Containerfile" pulp_api_root: "/relocated/djnd/" - python: "3.11" + python: "3.14" - image_tag: "latest" + from_tag: "latest" + container_file: "Containerfile" lower_bounds: true - python: "3.8" + python: "3.10" steps: - name: "Checkout" uses: "actions/checkout@v6" diff --git a/pyproject.toml b/pyproject.toml index 0bc2131..a9aae8d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -234,7 +234,7 @@ lint = [ ] test = [ "pygments>=2.19.2", - "pytest>=7.0.0,<9.2", + "pytest>=9,<9.1", "pytest-xdist>=3.8.0,<3.9", "python-gnupg>=0.5.0,<0.6", "secretstorage>=3.5.0",