Skip to content

Changes to (hopefully) FINALLY integrate StrongSORT #103

Changes to (hopefully) FINALLY integrate StrongSORT

Changes to (hopefully) FINALLY integrate StrongSORT #103

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.8"]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Initialising credentials
run: cat /home/runner/work/Ball-101/Ball-101/api/credentials.json | base64
- name: Putting data
env:
DATA: ${{ secrets.GOOGLE_SERVICES_JSON }}
run: echo $DATA > /home/runner/work/Ball-101/Ball-101/api/credentials.json
- name: Run CI tests
run: |
python src/main.py --ci ${{github.workspace}}/model/temp/user.mp4
if [ ! -f ${{github.workspace}}/model/temp/output/new.mp4 ]; then
echo "model run failed: output does not exist"
exit 1
fi