Skip to content

Commit

Permalink
Update ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
inisis authored Jul 1, 2024
1 parent 3741e17 commit e9bb295
Showing 1 changed file with 11 additions and 8 deletions.
19 changes: 11 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,20 @@ jobs:
with:
python-version: "3.10"

- name: model zoo test
- name: install dependency
run: |
python -m pip install --upgrade pip wheel setuptools
pip install .
pip install pytest onnxruntime
- name: yolo test
run: |
pip install pytest pytest-xdist onnxruntime timm torchvision --no-cache-dir --extra-index-url https://download.pytorch.org/whl/cpu
pip install ultralytics
pytest tests/test_yolo.py
- name: model zoo test
run: |
python -m pip install --upgrade pip wheel setuptools
python tests/test_folder.py --model-dir /root/data/modelzoo
- name: pattern matcher test
Expand All @@ -31,9 +40,3 @@ jobs:
- name: pattern generator test
run: |
pytest tests/test_pattern_generator.py
- name: yolo test
run: |
pip install pytest pytest-xdist onnxruntime timm torchvision --no-cache-dir --extra-index-url https://download.pytorch.org/whl/cpu
pip install ultralytics
pytest tests/test_yolo.py

0 comments on commit e9bb295

Please sign in to comment.