Skip to content

Commit

Permalink
Merge pull request #1596 from mfixstsci/update-freeze-matrix
Browse files Browse the repository at this point in the history
updating freeze matrix to include linux, mac and python 3.12
  • Loading branch information
mfixstsci authored May 29, 2024
2 parents b68d7dd + b17a56d commit 3a2e100
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,12 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
os:
[ "ubuntu-latest", "macos-latest" ]
python-version:
- "3.11"
[ "3.11", "3.12" ]
fail-fast: false
name: freeze versions (Python ${{ matrix.python-version }})
name: freeze versions (Python ${{ matrix.python-version }}, ${{ matrix.os }})
steps:
- uses: actions/checkout@v4
with:
Expand All @@ -43,7 +45,7 @@ jobs:
with:
args: --strict --pattern "default-unprefixed" --style semver
- id: filename
run: echo "filename=jwql_conda_py${{ matrix.python-version }}_${{ steps.version.outputs.version }}.yml" >> $GITHUB_OUTPUT
run: echo "filename=jwql_conda_py${{ matrix.python-version }}_${{ steps.version.outputs.version }}_${{ matrix.os }}.yml" >> $GITHUB_OUTPUT
- run: conda env export --no-build | grep -v "name:" | grep -v "prefix:" > ${{ steps.filename.outputs.filename }}
- run: cat ${{ steps.filename.outputs.filename }}
- uses: actions/upload-artifact@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
strategy:
matrix:
os: [ "ubuntu-latest", "macos-latest" ]
python-version: [ "3.11" ]
python-version: [ "3.11", "3.12" ]
fail-fast: false
env:
PYTHONUNBUFFERED: 1
Expand Down

0 comments on commit 3a2e100

Please sign in to comment.