Skip to content

Commit

Permalink
Don’t use python-version.
Browse files Browse the repository at this point in the history
  • Loading branch information
jezdez committed Dec 7, 2023
1 parent 947da9d commit cb8bb01
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -227,16 +227,14 @@ jobs:
uses: jezdez/setup-miniconda@windows-cache
with:
condarc-file: .\ci\github\.condarc
python-version: ${{ matrix.python-version }}
run-post: false # skip post cleanup
environment-file: tests/environment-win-64.lock

- name: Setup environment
shell: cmd /C CALL {0}
run: |
@echo on
CALL choco install visualstudio2017-workload-vctools || exit 1
CALL conda install -q -y -c defaults ${{ env.CONDA_CHANNEL_LABEL }}::conda || exit 1
CALL conda install -q -y -c defaults python=${{ matrix.python-version }} ${{ env.CONDA_CHANNEL_LABEL }}::conda || exit 1
:: TEMPORARY
if "${{ matrix.python-version }}" == "3.8" CALL conda install "https://anaconda.org/conda-forge/menuinst/2.0.0/download/win-64/menuinst-2.0.0-py38hd3f51b4_1.conda" || exit 1
if "${{ matrix.python-version }}" == "3.11" CALL conda install "https://anaconda.org/conda-forge/menuinst/2.0.0/download/win-64/menuinst-2.0.0-py311h12c1d0e_1.conda" || exit 1
Expand Down

0 comments on commit cb8bb01

Please sign in to comment.