Skip to content

Commit

Permalink
CI: Try windows GHA again
Browse files Browse the repository at this point in the history
  • Loading branch information
HaoZeke committed Sep 10, 2023
1 parent 15b1d43 commit 2b1fc0b
Showing 1 changed file with 11 additions and 10 deletions.
21 changes: 11 additions & 10 deletions .github/workflows/ci_win.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 2b1fc0b

Please sign in to comment.