Skip to content

Commit

Permalink
ci(setup-micromamba): turn off caching; remove powershell; unpin python
Browse files Browse the repository at this point in the history
  • Loading branch information
aleaf committed Oct 17, 2024
1 parent fd4c8cb commit 002ee06
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 8 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/build_docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,15 @@ jobs:
uses: mamba-org/setup-micromamba@v1
with:
environment-file: ci/test_environment.yml
cache-environment: true
cache-downloads: true
cache-environment: false
cache-downloads: false
# persist on the same day.
# cache-environment-key: environment-${{ steps.date.outputs.date }}
# cache-downloads-key: downloads-${{ steps.date.outputs.date }}
create-args: >-
python=${{ matrix.python-version }}
init-shell: >-
bash
- name: Conda info
shell: bash -l {0}
Expand Down
11 changes: 9 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,15 @@ jobs:
uses: mamba-org/setup-micromamba@v1
with:
environment-file: ci/test_environment.yml
cache-environment: true
cache-downloads: true
cache-environment: false
cache-downloads: false
# persist on the same day.
# cache-environment-key: environment-${{ steps.date.outputs.date }}
# cache-downloads-key: downloads-${{ steps.date.outputs.date }}
create-args: >-
python=${{ matrix.python-version }}
init-shell: >-
bash
- name: Conda info
shell: bash -l {0}
Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,13 +41,15 @@ jobs:
uses: mamba-org/setup-micromamba@v1
with:
environment-file: ci/test_environment.yml
cache-environment: true
cache-downloads: true
cache-environment: false
cache-downloads: false
# persist on the same day.
# cache-environment-key: environment-${{ steps.date.outputs.date }}
# cache-downloads-key: downloads-${{ steps.date.outputs.date }}
create-args: >-
python=${{ matrix.python-version }}
init-shell: >-
bash
powershell
- name: Conda info
shell: bash -l {0}
Expand Down
2 changes: 1 addition & 1 deletion ci/test_environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: sfrmaker_ci
channels:
- conda-forge
dependencies:
- python=3.12
- python
- ipython
- jupyter
- notebook
Expand Down

0 comments on commit 002ee06

Please sign in to comment.