Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 10 additions & 10 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,13 @@ jobs:
run: |
echo "PYTHON_VERSION=${{ matrix.python-version }}" >> $GITHUB_ENV
- name: Set up conda environment
uses: mamba-org/provision-with-micromamba@v15
uses: mamba-org/setup-micromamba@v1
with:
environment-file: ci/environment.yml
environment-name: cf_xarray_test
cache-env: true
extra-specs: |
python="${{ matrix.python-version }}"
cache-environment: true
create-args: >-
python=${{ matrix.python-version }}
- name: Install cf_xarray
run: |
python -m pip install --no-deps -e .
Expand Down Expand Up @@ -70,11 +70,11 @@ jobs:
# need to fetch all tags to get a correct version
fetch-depth: 0 # fetch all branches and tags
- name: Set up conda environment
uses: mamba-org/provision-with-micromamba@v15
uses: mamba-org/setup-micromamba@v1
with:
environment-file: ci/environment-no-optional-deps.yml
environment-name: cf_xarray_test
cache-env: true
cache-environment: true
- name: Install cf_xarray
run: |
python -m pip install --no-deps -e .
Expand All @@ -97,13 +97,13 @@ jobs:
with:
fetch-depth: 0 # Fetch all history for all branches and tags.
- name: Set up conda environment
uses: mamba-org/provision-with-micromamba@v15
uses: mamba-org/setup-micromamba@v1
with:
environment-file: ci/environment.yml
environment-name: cf_xarray_test
cache-env: true
extra-specs: |
python="${{ matrix.python-version }}"
cache-environment: true
create-args: >-
python=${{ matrix.python-version }}
- name: Install cf_xarray
run: |
python -m pip install --no-deps -e .
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/upstream-dev-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,14 @@ jobs:
upstream-dev:
name: upstream-dev
runs-on: ubuntu-latest
if: ${{ contains( github.event.pull_request.labels.*.name, 'test-upstream') && github.event_name == 'pull_request' || github.event_name == 'workflow_dispatch' }}
if: ${{ (contains( github.event.pull_request.labels.*.name, 'test-upstream') && github.event_name == 'pull_request') || github.event_name == 'workflow_dispatch' }}
defaults:
run:
shell: bash -l {0}
strategy:
fail-fast: false
matrix:
python-version: ["3.11"]
python-version: ["3.12"]
steps:
- uses: actions/checkout@v4
with:
Expand All @@ -38,13 +38,13 @@ jobs:
run: |
echo "PYTHON_VERSION=${{ matrix.python-version }}" >> $GITHUB_ENV
- name: Set up conda environment
uses: mamba-org/provision-with-micromamba@v15
uses: mamba-org/setup-micromamba@v1
with:
environment-file: ci/upstream-dev-env.yml
environment-name: cf_xarray_test
cache-env: False
extra-specs: |
python="${{ matrix.python-version }}"
create-args: >-
python=${{ matrix.python-version }}
- name: Install cf_xarray
run: |
python -m pip install --no-deps -e .
Expand Down