Ultralytics Code Refactor https://ultralytics.com/actions (#5) (#14) #4
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
branches: ["main"] | |
pull_request: | |
branches: ["main"] | |
jobs: | |
build: | |
runs-on: self-hosted | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: "3.10" | |
- name: model zoo test | |
run: | | |
python -m pip install --upgrade pip wheel setuptools | |
pip install . | |
pip install pytest onnxruntime | |
python tests/test_folder.py --model-dir /root/data/modelzoo | |
- name: pattern matcher test | |
run: | | |
python tests/test_pattern_matcher.py | |
- name: pattern generator test | |
run: | | |
python tests/test_pattern_generator.py |