openai/openai-python

Public

mirrored from https://github.com/openai/openai-pythonAvailable

CodeCommitsIssuesPull requestsActionsInsightsSecurity
v1.2.1

Branches

Tags

  • No tags available.
0Branches0Tags
Go to file
Add file
Code

Clone

HTTPS

Download ZIP

.github/workflows/ci.yml

41lines · modeblame

08b8179aDavid Schnurr2 years ago1name: CI
2on:
3push:
4branches:
5- main
6pull_request:
7branches:
8- main
9
10jobs:
11lint:
12name: lint
13runs-on: ubuntu-latest
14if: github.repository == 'openai/openai-python'
15
16steps:
17- uses: actions/checkout@v3
18
19- name: Install Rye
20run: |
21curl -sSf https://rye-up.com/get | bash
22echo "$HOME/.rye/shims" >> $GITHUB_PATH
23env:
24RYE_VERSION: 0.15.2
25RYE_INSTALL_OPTION: "--yes"
26
27- name: Install dependencies
28run: |
29rye sync --all-features
30
31- name: Run ruff
32run: |
33rye run check:ruff
34
35- name: Run type checking
36run: |
37rye run typecheck
38
39- name: Ensure importable
40run: |
41rye run python -c 'import openai'