openai/openai-python

Public

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

CodeCommitsIssuesPull requestsActionsInsightsSecurity
v1.65.2

Branches

Tags

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

Clone

HTTPS

Download ZIP

.github/workflows/ci.yml

53lines · 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:
f0b18239Stainless Bot2 years ago17- uses: actions/checkout@v4
08b8179aDavid Schnurr2 years ago18
19- name: Install Rye
20run: |
001965beStainless Bot2 years ago21curl -sSf https://rye.astral.sh/get | bash
08b8179aDavid Schnurr2 years ago22echo "$HOME/.rye/shims" >> $GITHUB_PATH
23env:
94fc49d8stainless-app[bot]1 years ago24RYE_VERSION: '0.35.0'
b36b8d86Stainless Bot2 years ago25RYE_INSTALL_OPTION: '--yes'
08b8179aDavid Schnurr2 years ago26
27- name: Install dependencies
526a05ebStainless Bot2 years ago28run: rye sync --all-features
08b8179aDavid Schnurr2 years ago29
526a05ebStainless Bot2 years ago30- name: Run lints
31run: ./scripts/lint
27d0e67bstainless-app[bot]1 years ago32
d2738d42Stainless Bot2 years ago33test:
34name: test
35runs-on: ubuntu-latest
36if: github.repository == 'openai/openai-python'
37
38steps:
39- uses: actions/checkout@v4
40
41- name: Install Rye
42run: |
001965beStainless Bot2 years ago43curl -sSf https://rye.astral.sh/get | bash
d2738d42Stainless Bot2 years ago44echo "$HOME/.rye/shims" >> $GITHUB_PATH
45env:
94fc49d8stainless-app[bot]1 years ago46RYE_VERSION: '0.35.0'
d2738d42Stainless Bot2 years ago47RYE_INSTALL_OPTION: '--yes'
48
49- name: Bootstrap
50run: ./scripts/bootstrap
51
52- name: Run tests
53run: ./scripts/test