Skip to content

Commit 672e03a

Browse files
[CI] Add windows to build ci jobs (#1981)
1 parent a054bda commit 672e03a

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/workflows/builds.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
strategy:
1313
fail-fast: false
1414
matrix:
15-
os: [ubuntu-latest, macos-latest]
15+
os: [ubuntu-latest, macos-latest, windows-latest]
1616
python: ["3.10", "3.11"]
1717
steps:
1818
- uses: actions/checkout@v4
@@ -33,6 +33,11 @@ jobs:
3333
- name: Install package
3434
run: |
3535
python -m pip install --upgrade pip
36-
pip install -e .[viz,html] --upgrade
36+
if [ "${{ runner.os }}" = "Windows" ]; then
37+
pip install -e .[viz] --upgrade
38+
else
39+
pip install -e .[viz,html] --upgrade
40+
fi
41+
shell: bash # Ensures shell is consistent across OSes
3742
- name: Import package
3843
run: python -c "import doctr; print(doctr.__version__)"

0 commit comments

Comments
 (0)