Skip to content

Commit f1dfa75

Browse files
committed
fix conda workflows
1 parent 389f9db commit f1dfa75

File tree

3 files changed

+12
-6
lines changed

3 files changed

+12
-6
lines changed

.github/workflows/array_api.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,10 @@ jobs:
2626
python-version: ${{ matrix.python-version }}
2727
environment-file: base/environment.yml
2828
activate-environment: pyk
29-
auto-activate-base: false
29+
auto-activate: false
3030
miniforge-version: "latest"
3131
architecture: ${{ contains(matrix.os, 'arm') && 'arm64' || 'x64' }}
32+
conda-remove-defaults: true
3233
- name: Install dependencies
3334
run: |
3435
conda install -c conda-forge numpy mypy cmake pytest pybind11 scikit-build patchelf tqdm &&

.github/workflows/base-linux-ci.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,10 @@ jobs:
3333
python-version: ${{ matrix.python-version }}
3434
environment-file: base/environment.yml
3535
activate-environment: pyk
36-
auto-activate-base: false
36+
auto-activate: false
3737
miniforge-version: "latest"
3838
architecture: ${{ contains(matrix.os, 'arm') && 'arm64' || 'x64' }}
39+
conda-remove-defaults: true
3940

4041
- name: Install pytest and ninja
4142
run: conda install -c conda-forge pytest ninja
@@ -104,9 +105,10 @@ jobs:
104105
python-version: ${{ matrix.python-version }}
105106
environment-file: base/environment.yml
106107
activate-environment: pyk
107-
auto-activate-base: false
108+
auto-activate: false
108109
miniforge-version: "latest"
109110
architecture: ${{ contains(matrix.os, 'arm') && 'arm64' || 'x64' }}
111+
conda-remove-defaults: true
110112

111113
- name: Install pytest and ninja
112114
run: conda install -c conda-forge pytest ninja
@@ -157,9 +159,10 @@ jobs:
157159
python-version: ${{ matrix.python-version }}
158160
environment-file: base/environment.yml
159161
activate-environment: pyk
160-
auto-activate-base: false
162+
auto-activate: false
161163
miniforge-version: "latest"
162164
architecture: ${{ contains(matrix.os, 'arm') && 'arm64' || 'x64' }}
165+
conda-remove-defaults: true
163166

164167
- name: Install pytest and ninja
165168
run: conda install -c conda-forge pytest ninja

.github/workflows/base-python-package.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,10 @@ jobs:
3131
python-version: ${{ matrix.python-version }}
3232
environment-file: base/environment.yml
3333
activate-environment: pyk
34-
auto-activate-base: false
34+
auto-activate: false
3535
miniforge-version: "latest"
3636
architecture: ${{ contains(matrix.os, 'arm') && 'arm64' || 'x64' }}
37+
conda-remove-defaults: true
3738
- name: Install flake8
3839
run: conda install -c conda-forge flake8=7.3.0
3940
- name: Lint with flake8
@@ -62,9 +63,10 @@ jobs:
6263
python-version: ${{ matrix.python-version }}
6364
environment-file: base/environment.yml
6465
activate-environment: pyk
65-
auto-activate-base: false
66+
auto-activate: false
6667
miniforge-version: "latest"
6768
architecture: ${{ contains(matrix.os, 'arm') && 'arm64' || 'x64' }}
69+
conda-remove-defaults: true
6870
- name: Install black and clang-format
6971
run: |
7072
conda install -c conda-forge black=25.12.0

0 commit comments

Comments
 (0)