-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
revert ci config - only remove esmpy in names of env to build
- Loading branch information
Showing
2 changed files
with
25 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -52,12 +52,13 @@ jobs: | |
python -m tox -e lint | ||
test-pypi: | ||
name: Test with Python${{ matrix.python-version }} (PyPI/tox, no ESMF) | ||
name: Test with Python${{ matrix.python-version }} (PyPI/tox) | ||
needs: lint | ||
runs-on: ubuntu-latest | ||
env: | ||
COVERALLS_PARALLEL: true | ||
COVERALLS_SERVICE_NAME: github | ||
esmf-version: 8.4.2 | ||
strategy: | ||
matrix: | ||
include: | ||
|
@@ -68,7 +69,7 @@ jobs: | |
- python-version: "3.11" | ||
tox-build: "py311-coveralls" | ||
# - python-version: "3.12" | ||
# tox-build: "py312-coveralls" | ||
# tox-build: "py312-esmpy-coveralls" | ||
defaults: | ||
run: | ||
shell: bash -l {0} | ||
|
@@ -78,17 +79,21 @@ jobs: | |
with: | ||
egress-policy: audit | ||
- uses: actions/[email protected] | ||
- name: Set up Python${{ matrix.python-version }} | ||
uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c # v5.0.0 | ||
- name: Setup Conda (Micromamba) with Python ${{ matrix.python-version }} | ||
uses: mamba-org/setup-[email protected].0 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
- name: Install tox | ||
run: | | ||
python -m pip install tox~=4.0 | ||
cache-downloads: true | ||
environment-name: xscen-pypi | ||
create-args: >- | ||
esmf=${{ env.esmf-version }} | ||
mamba | ||
python=${{ matrix.python-version }} | ||
tox | ||
- name: Test with tox | ||
run: | | ||
python -m tox -e ${{ matrix.tox-build }} | ||
env: | ||
ESMF_VERSION: ${{ env.esmf-version }} | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
COVERALLS_FLAG_NAME: run-Python${{ matrix.python-version }} | ||
|
||
|
@@ -142,10 +147,6 @@ jobs: | |
create-args: >- | ||
mamba | ||
python=${{ matrix.python-version }} | ||
- name: Downgrade intake-esm | ||
if: matrix.python-version == '3.9' | ||
run: | | ||
micromamba install -y -c conda-forge intake-esm=2023.11.10 | ||
- name: Conda and Mamba versions | ||
run: | | ||
mamba --version | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters