Skip to content

Commit

Permalink
testing fixes for 0.10.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
cisaacstern committed Jul 4, 2023
1 parent 21797e1 commit 3876007
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 9 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/unit-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ jobs:
matrix:
python-version: ["3.9"]
recipes-version: [
"pangeo-forge-recipes==0.9.2",
"git+https://github.com/pangeo-forge/pangeo-forge-recipes.git@beam-refactor",
"pangeo-forge-recipes==0.9.4",
"pangeo-forge-recipes==0.10.0",
]

steps:
Expand Down
9 changes: 2 additions & 7 deletions tests/unit/test_bake.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,8 @@ def recipes_version_ref():
][0]
return (
"0.9.x"
# FIXME: for now, beam-refactor is unreleased, so installing from the dev branch
# gives something like "0.9.1.dev86+g6e9c341" as the version. So we just assume any
# version which includes "dev" is the "beam-refactor" branch, because we're not
# installing from any other upstream dev branch at this point. After beam-refactor
# release, we can figure this out based on an explicit version tag, i.e. "0.10.*".
if "dev" not in recipes_version
else "beam-refactor"
if int(recipes_version.split(".")[1]) < 10
else "beam-refactor" # FIXME: change branch name on test feedstock
)


Expand Down

0 comments on commit 3876007

Please sign in to comment.