Skip to content

Commit

Permalink
Update upstream-dev-ci.yml (#409)
Browse files Browse the repository at this point in the history
* Update upstream-dev-ci.yml

* Update CHANGELOG.rst [test-upstream]

* Update dev.yml

* Update CHANGELOG.rst [test-upstream]
  • Loading branch information
aaronspring committed Oct 29, 2023
1 parent 9f44b40 commit 97ee881
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 12 deletions.
23 changes: 12 additions & 11 deletions .github/workflows/upstream-dev-ci.yml
Expand Up @@ -22,7 +22,7 @@ jobs:
outputs:
triggered: ${{ steps.detect-trigger.outputs.trigger-found }}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
fetch-depth: 2
- uses: xarray-contrib/ci-trigger@v1.1
Expand Down Expand Up @@ -51,22 +51,23 @@ jobs:
outputs:
artifacts_availability: ${{ steps.status.outputs.ARTIFACTS_AVAILABLE }}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
fetch-depth: 0 # Fetch all history for all branches and tags.
- uses: conda-incubator/setup-miniconda@v2
- name: setup conda (micromamba)
uses: mamba-org/setup-micromamba@v1
with:
channels: conda-forge
channel-priority: strict
mamba-version: "*"
activate-environment: xskillscore-dev
auto-update-conda: false
python-version: ${{ matrix.python-version }}
environment-file: ci/dev.yml
environment-name: xskillscore-dev
cache-environment: true
create-args: >-
python=${{ matrix.python-version }}
pytest-reportlog
conda
- name: Set up conda environment
run: |
mamba env update -f ci/dev.yml
bash ci/install-upstream-wheels.sh
- name: Install xskillscore
- name: Install xskillscore no deps
run: |
python -m pip install --no-deps -e .
- name: Version info
Expand Down
2 changes: 1 addition & 1 deletion ci/dev.yml
Expand Up @@ -2,7 +2,7 @@ name: xskillscore-dev
channels:
- conda-forge
dependencies:
- python=3.8
- python >= 3.9,<3.12
# Documentation
- nbsphinx
- nbstripout
Expand Down

0 comments on commit 97ee881

Please sign in to comment.