Skip to content

Commit 33ad75d

Browse files
Prerak SinghPrerak Singh
authored andcommitted
bug fix
1 parent 01c71f0 commit 33ad75d

File tree

1 file changed

+9
-26
lines changed

1 file changed

+9
-26
lines changed

.github/workflows/ci.yml

Lines changed: 9 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -160,37 +160,23 @@ jobs:
160160
sphinx-build -b html docs/source/ docs/build/html
161161
162162
test-windows:
163-
runs-on: ${{matrix.os}}
164-
timeout-minutes: 20
163+
runs-on: windows-latest
165164
strategy:
166165
fail-fast: false
167166
matrix:
168-
os: [windows-latest]
169-
python-version:
170-
- "3.9"
171-
- "3.10"
172-
- "3.11"
167+
python-version: ["3.9", "3.10", "3.11"]
173168

174169
steps:
175170
- uses: actions/checkout@v3
176171

177-
- name: Set up Python ${{ matrix.python-version }}
178-
uses: actions/setup-python@v4
179-
with:
180-
python-version: ${{ matrix.python-version }}
181-
182-
- name: Setup conda
183-
uses: s-weigand/setup-conda@v1
172+
- uses: actions/setup-python@v4
184173
with:
185-
update-conda: true
186174
python-version: ${{ matrix.python-version }}
187-
conda-channels: anaconda, conda-forge
188175

189-
- run: which python
176+
- uses: ilammy/msvc-dev-cmd@v1
190177

191-
- name: Upgrade pip version
192-
run: |
193-
python -m pip install --upgrade pip
178+
- name: Upgrade pip
179+
run: python -m pip install --upgrade pip
194180

195181
- name: Install requirements
196182
run: |
@@ -201,13 +187,10 @@ jobs:
201187
- name: Build package
202188
env:
203189
CL: "/std:c++17"
204-
run: |
205-
spin build -v
190+
run: spin build -v
206191

207192
- name: Run tests
208-
run: |
209-
spin test -v
193+
run: spin test -v
210194

211195
- name: Build Documentation
212-
run: |
213-
sphinx-build -b html docs/source/ docs/build/html
196+
run: sphinx-build -b html docs/source/ docs/build/html

0 commit comments

Comments
 (0)