Skip to content

Commit

Permalink
Merge pull request #22 from pangeo-forge/testing-docker-tweaks
Browse files Browse the repository at this point in the history
Testing & docker tweaks
  • Loading branch information
cisaacstern authored Nov 21, 2023
2 parents 078a1be + 8d9e4ed commit 5e7bdfa
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 1 addition & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 5e7bdfa

Please sign in to comment.