未验证 提交 e6a38da3 编写于 作者: R Roman Donchenko 提交者: GitHub

Re-enable testing for the PyTorch adapter (#6377)

It was accidentally disabled in #6173.

Also, refactor the build steps to make the log easier to read.
上级 bedbd82c
......@@ -152,18 +152,21 @@ jobs:
name: expected_schema
path: cvat/schema-expected.yml
- name: Running REST API and SDK tests
id: run_tests
env:
COVERAGE_PROCESS_START: ".coveragerc"
- name: Generate SDK
run: |
pip3 install -r cvat-sdk/gen/requirements.txt
./cvat-sdk/gen/generate.sh
pip3 install -r ./tests/python/requirements.txt
pip3 install -e ./cvat-sdk
pip3 install -e ./cvat-cli
- name: Install SDK
run: |
pip3 install -r ./tests/python/requirements.txt \
-e './cvat-sdk[pytorch]' -e ./cvat-cli
- name: Run REST API and SDK tests
id: run_tests
env:
COVERAGE_PROCESS_START: ".coveragerc"
run: |
pytest tests/python/ --cov --cov-report xml
- name: Upload coverage reports to Codecov with GitHub Action
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册