Skip to content

Commit d0b094a

Browse files
remove conda parameter
1 parent 2835f0c commit d0b094a

2 files changed

Lines changed: 1 addition & 38 deletions

File tree

.github/workflows/test_tox.yml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -120,14 +120,6 @@ jobs:
120120
- macos: py311
121121
- windows: py310
122122
123-
test_conda:
124-
uses: ./.github/workflows/tox.yml
125-
with:
126-
envs: |
127-
- linux: py312-conda
128-
- macos: py311-conda
129-
- windows: py310-conda
130-
131123
test_setenv:
132124
uses: ./.github/workflows/tox.yml
133125
with:

.github/workflows/tox.yml

Lines changed: 1 addition & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -57,11 +57,6 @@ on:
5757
required: false
5858
default: ''
5959
type: string
60-
conda:
61-
description: Whether to test with conda (deprecated)
62-
required: false
63-
default: 'auto'
64-
type: string
6560
setenv:
6661
description: A map of environment variables to be available when testing
6762
required: false
@@ -183,7 +178,7 @@ jobs:
183178
--posargs "${{ inputs.posargs }}" --toxdeps "${{ inputs.toxdeps }}" \
184179
--toxargs "${{ inputs.toxargs }}" --pytest "${{ inputs.pytest }}" \
185180
--pytest-results-summary "${{ inputs.pytest-results-summary }}" \
186-
--coverage "${{ inputs.coverage }}" --conda "${{ inputs.conda }}" \
181+
--coverage "${{ inputs.coverage }}" \
187182
--setenv "${{ inputs.setenv }}" \
188183
--display "${{ inputs.display }}" --cache-path "${{ inputs.cache-path }}" \
189184
--cache-key "${{ inputs.cache-key }}" --cache-restore-keys "${{ inputs.cache-restore-keys }}" \
@@ -237,37 +232,13 @@ jobs:
237232
choco: ${{ matrix.libraries_choco }}
238233

239234
- name: Setup Python ${{ matrix.python_version }}
240-
if: ${{ matrix.conda != 'true' }}
241235
uses: astral-sh/setup-uv@eac588ad8def6316056a12d4907a9d4d84ff7a3b # 7.3.0
242236
with:
243237
version: "0.10.6"
244238
python-version: ${{ matrix.python_version }}
245239
activate-environment: "true"
246240
ignore-empty-workdir: "true"
247241

248-
- name: Setup conda (deprecated)
249-
if: ${{ matrix.conda == 'true' }}
250-
uses: mamba-org/setup-micromamba@add3a49764cedee8ee24e82dfde87f5bc2914462 # v2.0.7
251-
with:
252-
environment-name: test
253-
condarc: |
254-
channels:
255-
- conda-forge
256-
use_uv: true
257-
create-args: >-
258-
conda
259-
python=${{ matrix.python_version }}
260-
uv=0.10.6
261-
init-shell: bash
262-
cache-environment: true
263-
cache-downloads: true
264-
265-
- name: warn that using the `conda` parameter is deprecated
266-
if: ${{ matrix.conda == 'true' }}
267-
run: |
268-
echo "> [!WARNING]" >> $GITHUB_STEP_SUMMARY
269-
echo "> The conda parameter is deprecated (see https://github.com/OpenAstronomy/github-actions-workflows/issues/354)." >> $GITHUB_STEP_SUMMARY
270-
271242
- id: set-env
272243
if: ${{ matrix.setenv != '' }}
273244
run: |

0 commit comments

Comments
 (0)