Skip to content

docs: expand modular documentation specifications, add env template, … #3

docs: expand modular documentation specifications, add env template, …

docs: expand modular documentation specifications, add env template, … #3

Workflow file for this run

name: DeepVision AI CI
on:
push:
branches: [ main, develop ]
pull_request:
branches: [ main, develop ]
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up Python 3.10
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Cache dependencies
uses: actions/cache@v3
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('requirements.txt') }}
restore-keys: |
${{ runner.os }}-pip-
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install torch torchvision --index-url https://download.pytorch.org/whl/cpu
pip install -r requirements.txt
- name: Run unit test suite
run: |
python -m unittest discover tests
- name: Run end-to-end CPU training smoke test
run: |
python train.py --config configs/smoke_test.yaml --synthetic-fallback