fix torch2.0

update-master-ci
zhouzaida 2023-04-06 10:23:40 +08:00
parent 8cd7890f87
commit 2d8a5be7bb
2 changed files with 4 additions and 5 deletions

View File

@ -318,7 +318,7 @@ jobs:
- name: Install unit tests dependencies
run: pip install -r requirements/test.txt
- name: Run unit tests
run: pytest tests --ignore=tests/test_ops --ignore tests/test_image/test_io.py
run: pytest tests/ --ignore=tests/test_ops --ignore tests/test_utils/test_progressbar.py --ignore tests/test_utils/test_timer.py --ignore tests/test_image/test_io.py
build_windows:
runs-on: windows-2019
env:
@ -350,8 +350,7 @@ jobs:
- name: Install unit tests dependencies
run: pip install -r requirements/test.txt
- name: Run unit tests
run: pytest tests/ --ignore tests/test_image/test_io.py --ignore tests/test_parallel.py --ignore tests/test_device
if: ${{matrix.torch == '1.5.1'}}
run: pytest tests/ --ignore tests/test_utils/test_progressbar.py --ignore tests/test_utils/test_timer.py --ignore tests/test_image/test_io.py
build_macos:
runs-on: macos-latest
env:

View File

@ -117,7 +117,7 @@ jobs:
- name: Install unit tests dependencies
run: pip install -r requirements/test.txt
- name: Run unit tests
run: pytest tests --ignore=tests/test_ops --ignore tests/test_image/test_io.py
run: pytest tests/ --ignore=tests/test_ops --ignore tests/test_utils/test_progressbar.py --ignore tests/test_utils/test_timer.py --ignore tests/test_image/test_io.py
build_windows:
runs-on: windows-2019
env:
@ -149,7 +149,7 @@ jobs:
- name: Install unit tests dependencies
run: pip install -r requirements/test.txt
- name: Run unit tests
run: pytest tests/ --ignore tests/test_image/test_io.py
run: pytest tests/ --ignore tests/test_utils/test_progressbar.py --ignore tests/test_utils/test_timer.py --ignore tests/test_image/test_io.py
build_macos:
runs-on: macos-latest
env: