Skip to content

Open browser to fastapi docs page when running model_serve (#54) #278

Open browser to fastapi docs page when running model_serve (#54)

Open browser to fastapi docs page when running model_serve (#54) #278

Workflow file for this run

on:
push:
branches:
- main
- master
pull_request:
branches:
- main
- master
name: macOS build
jobs:
test-macOS:
runs-on: ${{ matrix.os }}
name: ${{ matrix.os }} (${{ matrix.python-version}})
strategy:
fail-fast: false
matrix:
os: ["macOS-latest"]
python-version: ["3.11"]
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version}}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install --no-cache-dir Cython
pip install -r requirements_dev.txt
pip install .
- name: Run pytest
run: |
pip install pytest
pytest tests/