Skip to content

feat(python): openai instrumentator #1

feat(python): openai instrumentator

feat(python): openai instrumentator #1

Workflow file for this run

name: Python CI
on:
push:
branches: [main]
pull_request:
paths:
- "python/**"
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
concurrency:
group: test-python-${{ github.head_ref }}
cancel-in-progress: true
jobs:
ci:
name: CI Python
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v3
- name: Set up Python 3.8
uses: actions/setup-python@v4
with:
python-version: "3.8"
- name: Install tox
run: pip install tox==4.11.4
- name: Check style
run: |
tox run -e ruff
git diff --exit-code
- name: Run mypy
run: |
tox run -e mypy-openai
- name: Run tests
run: |
tox run -e test-openai