diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index ce41186..a009ae9 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -13,7 +13,10 @@ jobs: strategy: fail-fast: false matrix: - python-version: ["3.9.13"] # consistent with Dockerfile + # the dockerfile will only run on the latest version of python3 as installed + # by apt-get, but these tests are very cheap so just keep an eye out for any + # potential issues as that version floats upward + python-version: ["3.9", "3.10", "3.11", "3.12"] steps: - uses: actions/checkout@v3 diff --git a/Dockerfile b/Dockerfile index 45b151b..ce65b94 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,10 +1,7 @@ FROM ubuntu:22.04 RUN apt-get update && apt-get install -y python3 python3-pip - -# install pangeo-forge-runner. to make this faster, let's drop the pangeo-forge-recipes -# dependency from -runner (because recipes is always installed at runtime anyway) -RUN python3 -m pip install pangeo-forge-runner +RUN python3 -m pip install "pangeo-forge-runner>=0.9.2" COPY action/deploy_recipe.py /deploy_recipe.py COPY entrypoint.sh /entrypoint.sh