openai/openai-python

Public

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

CodeCommitsIssuesPull requestsActionsInsightsSecurity
v1.50.1

Branches

Tags

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

Clone

HTTPS

Download ZIP

.github/workflows/ci.yml

52lines · 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
d2738d42Stainless Bot2 years ago32test:
33name: test
34runs-on: ubuntu-latest
35if: github.repository == 'openai/openai-python'
36
37steps:
38- uses: actions/checkout@v4
39
40- name: Install Rye
41run: |
001965beStainless Bot2 years ago42curl -sSf https://rye.astral.sh/get | bash
d2738d42Stainless Bot2 years ago43echo "$HOME/.rye/shims" >> $GITHUB_PATH
44env:
94fc49d8stainless-app[bot]1 years ago45RYE_VERSION: '0.35.0'
d2738d42Stainless Bot2 years ago46RYE_INSTALL_OPTION: '--yes'
47
48- name: Bootstrap
49run: ./scripts/bootstrap
50
51- name: Run tests
52run: ./scripts/test