Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DON'T MERGE] CI test -win #1804

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
os: [ubuntu-latest, windows-latest]
python: ["3.10"]
steps:
- uses: actions/checkout@v4
Expand All @@ -28,7 +28,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -e .[tf,viz,html] --upgrade
pip install -e .[tf,viz] --upgrade
pip install -e .[testing]
- name: Run unittests
run: |
Expand All @@ -44,7 +44,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
os: [ubuntu-latest, windows-latest]
python: ["3.10"]
steps:
- uses: actions/checkout@v4
Expand All @@ -61,7 +61,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -e .[tf,viz,html] --upgrade
pip install -e .[tf,viz] --upgrade
pip install -e .[testing]
- name: Run unittests
run: |
Expand All @@ -77,7 +77,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
os: [ubuntu-latest, windows-latest]
python: ["3.10"]
steps:
- uses: actions/checkout@v4
Expand All @@ -94,7 +94,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -e .[torch,viz,html] --upgrade
pip install -e .[torch,viz] --upgrade
pip install -e .[testing]

- name: Run unittests
Expand Down
8 changes: 4 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ dependencies = [
[project.optional-dependencies]
tf = [
# cf. https://github.com/mindee/doctr/pull/1461
"tensorflow[and-cuda]>=2.15.0,<3.0.0; sys_platform != 'darwin'",
"tensorflow>=2.15.0,<3.0.0; sys_platform == 'darwin'", # TensorFlow compatible for macOS
"tensorflow[and-cuda]>=2.15.0,<3.0.0; sys_platform == 'linux'",
"tensorflow>=2.15.0,<3.0.0; sys_platform != 'linux'", # TensorFlow compatible for macOS and Windows
"tf-keras>=2.15.0,<3.0.0", # Keep keras 2 compatibility
"tf2onnx>=1.16.0,<2.0.0", # cf. https://github.com/onnx/tensorflow-onnx/releases/tag/v1.16.0
]
Expand Down Expand Up @@ -98,8 +98,8 @@ docs = [
dev = [
# Tensorflow
# cf. https://github.com/mindee/doctr/pull/1461
"tensorflow[and-cuda]>=2.15.0,<3.0.0; sys_platform != 'darwin'",
"tensorflow>=2.15.0,<3.0.0; sys_platform == 'darwin'", # TensorFlow compatible for macOS
"tensorflow[and-cuda]>=2.15.0,<3.0.0; sys_platform == 'linux'",
"tensorflow>=2.15.0,<3.0.0; sys_platform != 'linux'", # TensorFlow compatible for macOS and Windows
"tf-keras>=2.15.0,<3.0.0", # Keep keras 2 compatibility
"tf2onnx>=1.16.0,<2.0.0", # cf. https://github.com/onnx/tensorflow-onnx/releases/tag/v1.16.0
# PyTorch
Expand Down
Loading