Skip to content

Commit

Permalink
update CI for pending conda deprecations
Browse files Browse the repository at this point in the history
  • Loading branch information
m-stclair committed Nov 6, 2024
1 parent 1859d3b commit 27b9d82
Show file tree
Hide file tree
Showing 9 changed files with 14 additions and 9 deletions.
1 change: 1 addition & 0 deletions .github/workflows/mac_minimal_tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ jobs:
channels: conda-forge
python-version: ${{ matrix.python-version }}
auto-activate-base: false
channel-priority: strict

- name: Set up conda environment
shell: bash -l {0}
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/mac_tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ jobs:
channels: conda-forge
python-version: ${{ matrix.python-version }}
auto-activate-base: false
channel-priority: strict

- name: Set up conda environment
shell: bash -l {0}
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/pypi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,14 @@ jobs:
name: build and publish
runs-on: "ubuntu-latest"
steps:
- uses: actions/checkout@v2
- uses: conda-incubator/setup-miniconda@v2
- uses: actions/checkout@v4
- uses: conda-incubator/setup-miniconda@v3
with:
environment-file: environment.yml
activate-environment: lhorizon
auto-update-conda: false
python-version: 3.11
channel-priority: strict
- name: Set up conda environment
shell: bash -l {0}
run: |
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/test_doc_freshness.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,14 @@ jobs:
python-version: ["3.11", "3.13"]
environment-file: ["lhorizon/tests/.doc-environment.yml"]
steps:
- uses: actions/checkout@v2
- uses: conda-incubator/setup-miniconda@v2
- uses: actions/checkout@v4
- uses: conda-incubator/setup-miniconda@v3
with:
environment-file: ${{ matrix.environment-file }}
activate-environment: lh-docs
auto-update-conda: false
python-version: ${{ matrix.python-version }}
channel-priority: strict

- name: Set up conda environment
shell: bash -l {0}
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/testpypi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,13 @@ jobs:
runs-on: "ubuntu-latest"
steps:
- uses: actions/checkout@v2
- uses: conda-incubator/setup-miniconda@v2
- uses: conda-incubator/setup-miniconda@v3
with:
environment-file: environment.yml
activate-environment: lhorizon
auto-update-conda: false
python-version: 3.11
channel-priority: strict
- name: Set up conda environment
shell: bash -l {0}
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ubuntu_minimal_tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
channels: conda-forge
python-version: ${{ matrix.python-version }}
auto-activate-base: false

channel-priority: strict
- name: Set up conda environment
shell: bash -l {0}
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ubuntu_tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
channels: conda-forge
python-version: ${{ matrix.python-version }}
auto-activate-base: false

channel-priority: strict
- name: Set up conda environment
shell: bash -l {0}
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/windows_minimal_tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
channels: conda-forge
python-version: ${{ matrix.python-version }}
auto-activate-base: false

channel-priority: strict
- name: Set up conda environment
shell: bash -l {0}
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/windows_tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
channels: conda-forge
python-version: ${{ matrix.python-version }}
auto-activate-base: false

channel-priority: strict
- name: Set up conda environment
shell: bash -l {0}
run: |
Expand Down

0 comments on commit 27b9d82

Please sign in to comment.