diff --git a/.github/workflows/ci_win.yml b/.github/workflows/ci_win.yml index ec20f9365..5e5ea6565 100644 --- a/.github/workflows/ci_win.yml +++ b/.github/workflows/ci_win.yml @@ -14,25 +14,26 @@ jobs: fail-fast: false matrix: os: ["windows-latest"] - python-version: ["3.7"] # "3.10" needs work + python-version: ["3.7"] timeout-minutes: 30 steps: - uses: actions/checkout@v3 with: fetch-depth: 0 - - name: Set up Python version ${{ matrix.python-version }} - uses: actions/setup-python@v4 + - name: Set up Mamba + uses: conda-incubator/setup-miniconda@v2 with: python-version: ${{ matrix.python-version }} - cache: pip - cache-dependency-path: pyproject.toml + mamba-version: "*" + channels: conda-forge,defaults + channel-priority: true - name: Install and test - shell: bash -l {0} + shell: pwsh -el {0} run: | - python -m pip install .[test] - python -m pip install packaging virtualenv - python -m pytest -v -l -x --timeout=300 \ + python.exe -m pip install .[test] + python.exe -m pip install packaging virtualenv + python.exe -m pytest -v -l -x --timeout=300 \ --durations=100 test \ - --environment-type=virtualenv + --environment-type=mamba