Skip to content

[FEATURE] add json schema support #170

[FEATURE] add json schema support

[FEATURE] add json schema support #170

Workflow file for this run

name: Unit Tests
on:
push:
branches: [main]
pull_request:
workflow_dispatch:
inputs:
name:
description: 'The name of the test job.'
required: false
default: 'run-tests-manual'
type: string
jobs:
unit-tests:
if : github.repository == 'CentML/flexible-inference-bench'
runs-on:
group: arc-h100
container:
image: nvidia/cuda:12.1.0-devel-ubuntu22.04
options: --gpus all
strategy:
matrix:
python-version: ["3.10"]
steps:
- name: Fetch repository
uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements-dev.txt
pip install -e .
- name : Run tests
run: |
bash scripts/unit_test/test.sh