Skip to content

Commit 97e5c3e

Browse files
committed
* windows
1 parent a9b16d7 commit 97e5c3e

File tree

1 file changed

+36
-44
lines changed

1 file changed

+36
-44
lines changed

.github/workflows/ci.yaml

Lines changed: 36 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -6,56 +6,48 @@ on:
66
pull_request:
77

88
jobs:
9-
test-on-linux:
10-
runs-on: ubuntu-latest
11-
strategy:
12-
matrix:
13-
# python-version: ["3.6", "3.7", "3.8", "3.9", "3.10"]
14-
py-version: ["3.9", "3.10"]
15-
name: Linux - Python ${{ matrix.py-version }}
16-
17-
steps:
18-
- uses: actions/checkout@v4
19-
- uses: docker/setup-compose-action@v1
20-
21-
- name: Run tests in Docker
22-
env:
23-
REPO_ROOT: ${{ github.workspace }}
24-
run: |
25-
make test ${{ matrix.py-version}}
26-
27-
# test-windows:
28-
# runs-on: windows-latest
9+
# test-on-linux:
10+
# runs-on: ubuntu-latest
2911
# strategy:
3012
# matrix:
31-
# py-version: ["3.9", "3.10"]
32-
# name: Windows - Python ${{ matrix.py-version }}
13+
# # python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
14+
# py-version: ["3.10"]
15+
# name: Linux - Python ${{ matrix.py-version }}
3316

3417
# steps:
35-
# - name: Checkout code
36-
# uses: actions/checkout@v4
18+
# - uses: actions/checkout@v4
19+
# - uses: docker/setup-compose-action@v1
3720

38-
# - name: Set up Python
39-
# uses: actions/setup-python@v5
40-
# with:
41-
# python-version: ${{ matrix.py-version }}
42-
43-
# - name: Install dependencies
21+
# - name: Run tests in Docker
22+
# env:
23+
# REPO_ROOT: ${{ github.workspace }}
4424
# run: |
45-
# python -m pip install --upgrade pip
46-
# pip install meson ninja pytest
47-
# shell: powershell
25+
# make test ${{ matrix.py-version}}
26+
27+
test-on-windows:
28+
runs-on: windows-latest
29+
strategy:
30+
matrix:
31+
py-version: ["3.10"]
32+
name: Windows - Python ${{ matrix.py-version }}
4833

49-
# - name: Setup Visual Studio Developer Command Prompt
50-
# uses: ilammy/msvc-dev-cmd@v1
34+
steps:
35+
- uses: actions/checkout@v4
5136

52-
# - name: Configure and build with Meson (MSVC)
53-
# run: |
54-
# meson setup builddir
55-
# meson compile -C builddir
56-
# shell: powershell
37+
- uses: actions/setup-python@v5
38+
with:
39+
python-version: ${{ matrix.py-version }}
5740

58-
# - name: Run tests
59-
# run: |
60-
# pytest tests
61-
# shell: powershell
41+
- name: Install dependencies
42+
shell: powershell
43+
run: |
44+
python -m pip install --upgrade pip
45+
pip install -r tests/requirements.txt
46+
47+
- name: Setup Visual Studio Developer Command Prompt
48+
uses: ilammy/msvc-dev-cmd@v1
49+
50+
- name: Run tests
51+
shell: powershell
52+
run: |
53+
pytest tests

0 commit comments

Comments
 (0)