diff --git a/.github/workflows/package_testing.yml b/.github/workflows/package_testing.yml deleted file mode 100644 index 9f9dcb0..0000000 --- a/.github/workflows/package_testing.yml +++ /dev/null @@ -1,85 +0,0 @@ -name: Package Testing - -on: - schedule: - - cron: '0 0 * * *' # Runs at 00:00 UTC every day - -jobs: - build: - runs-on: ubuntu-latest - - strategy: - matrix: - operating-system: [ubuntu-latest, windows-latest, macos-latest] - python-version: [3.7, 3.8, 3.9, "3.10"] - fail-fast: false - - steps: - - name: Checkout - uses: actions/checkout@v2 - - - name: Set up Python - uses: actions/setup-python@v2 - with: - python-version: ${{ matrix.python-version }} - - - name: Restore Ubuntu cache - uses: actions/cache@v1 - if: matrix.operating-system == 'ubuntu-latest' - with: - path: ~/.cache/pip - key: ${{ matrix.os }}-${{ matrix.python-version }}-${{ hashFiles('**/setup.py')}} - restore-keys: ${{ matrix.os }}-${{ matrix.python-version }}- - - - name: Restore MacOS cache - uses: actions/cache@v1 - if: matrix.operating-system == 'macos-latest' - with: - path: ~/Library/Caches/pip - key: ${{ matrix.os }}-${{ matrix.python-version }}-${{ hashFiles('**/setup.py')}} - restore-keys: ${{ matrix.os }}-${{ matrix.python-version }}- - - - name: Restore Windows cache - uses: actions/cache@v1 - if: matrix.operating-system == 'windows-latest' - with: - path: ~\AppData\Local\pip\Cache - key: ${{ matrix.os }}-${{ matrix.python-version }}-${{ hashFiles('**/setup.py')}} - restore-keys: ${{ matrix.os }}-${{ matrix.python-version }}- - - - name: Update pip - run: python -m pip install --upgrade pip - - - name: Install latest TorchYolo package - run: > - pip install --upgrade --force-reinstall torchyolo - - - name: Test with unittest - run: | - pip install pytest - python -m unittest - - - name: Install yolov5(7.0.7) - run: > - pip install yolov5==7.0.7 - - - name: Install yolov6 - run: > - pip install yolov6detect - - - name: Install yolov7 - run: > - pip install yolov7detect - - - name: Install yolov8 - run: > - pip install ultralytics - - - name: Unittest for Yolov5/6/7/8 models with TorchYolo package (CPU) - run: | - python -m unittest - - - name: Test TorchYolo CLI - run: | - torchyolo --version - torchyolo predict --config_path torchyolo/configs/default_config.yaml --model_type yolov5 --model_path yolov5s.pt --source data/highway.jpg