From d0b094a2edea84826757a436199a09cece9e37e0 Mon Sep 17 00:00:00 2001 From: zacharyburnett Date: Tue, 7 Apr 2026 09:04:03 -0400 Subject: [PATCH] remove `conda` parameter --- .github/workflows/test_tox.yml | 8 -------- .github/workflows/tox.yml | 31 +------------------------------ 2 files changed, 1 insertion(+), 38 deletions(-) diff --git a/.github/workflows/test_tox.yml b/.github/workflows/test_tox.yml index 5f13564..2a20ad0 100644 --- a/.github/workflows/test_tox.yml +++ b/.github/workflows/test_tox.yml @@ -120,14 +120,6 @@ jobs: - macos: py311 - windows: py310 - test_conda: - uses: ./.github/workflows/tox.yml - with: - envs: | - - linux: py312-conda - - macos: py311-conda - - windows: py310-conda - test_setenv: uses: ./.github/workflows/tox.yml with: diff --git a/.github/workflows/tox.yml b/.github/workflows/tox.yml index 3b5a2ae..196f2e6 100644 --- a/.github/workflows/tox.yml +++ b/.github/workflows/tox.yml @@ -57,11 +57,6 @@ on: required: false default: '' type: string - conda: - description: Whether to test with conda (deprecated) - required: false - default: 'auto' - type: string setenv: description: A map of environment variables to be available when testing required: false @@ -183,7 +178,7 @@ jobs: --posargs "${{ inputs.posargs }}" --toxdeps "${{ inputs.toxdeps }}" \ --toxargs "${{ inputs.toxargs }}" --pytest "${{ inputs.pytest }}" \ --pytest-results-summary "${{ inputs.pytest-results-summary }}" \ - --coverage "${{ inputs.coverage }}" --conda "${{ inputs.conda }}" \ + --coverage "${{ inputs.coverage }}" \ --setenv "${{ inputs.setenv }}" \ --display "${{ inputs.display }}" --cache-path "${{ inputs.cache-path }}" \ --cache-key "${{ inputs.cache-key }}" --cache-restore-keys "${{ inputs.cache-restore-keys }}" \ @@ -237,7 +232,6 @@ jobs: choco: ${{ matrix.libraries_choco }} - name: Setup Python ${{ matrix.python_version }} - if: ${{ matrix.conda != 'true' }} uses: astral-sh/setup-uv@eac588ad8def6316056a12d4907a9d4d84ff7a3b # 7.3.0 with: version: "0.10.6" @@ -245,29 +239,6 @@ jobs: activate-environment: "true" ignore-empty-workdir: "true" - - name: Setup conda (deprecated) - if: ${{ matrix.conda == 'true' }} - uses: mamba-org/setup-micromamba@add3a49764cedee8ee24e82dfde87f5bc2914462 # v2.0.7 - with: - environment-name: test - condarc: | - channels: - - conda-forge - use_uv: true - create-args: >- - conda - python=${{ matrix.python_version }} - uv=0.10.6 - init-shell: bash - cache-environment: true - cache-downloads: true - - - name: warn that using the `conda` parameter is deprecated - if: ${{ matrix.conda == 'true' }} - run: | - echo "> [!WARNING]" >> $GITHUB_STEP_SUMMARY - echo "> The conda parameter is deprecated (see https://github.com/OpenAstronomy/github-actions-workflows/issues/354)." >> $GITHUB_STEP_SUMMARY - - id: set-env if: ${{ matrix.setenv != '' }} run: |