Repository navigation
🌿 Fern Regeneration -- September 2, 2025 #26
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| # Specify files that shouldn't be modified by Fern |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,98 +1,37 @@ | ||
| name: CI | ||
| on: | ||
| push: | ||
| branches-ignore: | ||
| - 'generated' | ||
| - 'codegen/**' | ||
| - 'integrated/**' | ||
| - 'stl-preview-head/**' | ||
| - 'stl-preview-base/**' | ||
| pull_request: | ||
| branches-ignore: | ||
| - 'stl-preview-head/**' | ||
| - 'stl-preview-base/**' | ||
| name: ci | ||
|
|
||
| on: [push] | ||
| jobs: | ||
| lint: | ||
| timeout-minutes: 10 | ||
| name: lint | ||
| runs-on: ${{ github.repository == 'stainless-sdks/browser-use-python' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }} | ||
| if: github.event_name == 'push' || github.event.pull_request.head.repo.fork | ||
| compile: | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
|
|
||
| - name: Install Rye | ||
| run: | | ||
| curl -sSf https://rye.astral.sh/get | bash | ||
| echo "$HOME/.rye/shims" >> $GITHUB_PATH | ||
| env: | ||
| RYE_VERSION: '0.44.0' | ||
| RYE_INSTALL_OPTION: '--yes' | ||
|
|
||
| - name: Install dependencies | ||
| run: rye sync --all-features | ||
|
|
||
| - name: Run lints | ||
| run: ./scripts/lint | ||
|
|
||
| build: | ||
| if: github.event_name == 'push' || github.event.pull_request.head.repo.fork | ||
| timeout-minutes: 10 | ||
| name: build | ||
| permissions: | ||
| contents: read | ||
| id-token: write | ||
| runs-on: depot-ubuntu-24.04 | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
|
|
||
| - name: Install Rye | ||
| - name: Checkout repo | ||
| uses: actions/checkout@v4 | ||
| - name: Set up python | ||
| uses: actions/setup-python@v4 | ||
| with: | ||
| python-version: 3.8 | ||
| - name: Bootstrap poetry | ||
| run: | | ||
| curl -sSf https://rye.astral.sh/get | bash | ||
| echo "$HOME/.rye/shims" >> $GITHUB_PATH | ||
| env: | ||
| RYE_VERSION: '0.44.0' | ||
| RYE_INSTALL_OPTION: '--yes' | ||
|
|
||
| curl -sSL https://install.python-poetry.org | python - -y --version 1.5.1 | ||
| - name: Install dependencies | ||
| run: rye sync --all-features | ||
|
|
||
| - name: Run build | ||
| run: rye build | ||
|
|
||
| - name: Get GitHub OIDC Token | ||
| if: github.repository == 'stainless-sdks/browser-use-python' | ||
| id: github-oidc | ||
| uses: actions/github-script@v6 | ||
| with: | ||
| script: core.setOutput('github_token', await core.getIDToken()); | ||
|
|
||
| - name: Upload tarball | ||
| if: github.repository == 'stainless-sdks/browser-use-python' | ||
| env: | ||
| URL: https://pkg.stainless.com/s | ||
| AUTH: ${{ steps.github-oidc.outputs.github_token }} | ||
| SHA: ${{ github.sha }} | ||
| run: ./scripts/utils/upload-artifact.sh | ||
|
|
||
| run: poetry install | ||
| - name: Compile | ||
| run: poetry run mypy . | ||
| test: | ||
|
Check warning on line 21 in .github/workflows/ci.yml
|
||
| timeout-minutes: 10 | ||
| name: test | ||
| runs-on: ${{ github.repository == 'stainless-sdks/browser-use-python' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }} | ||
| if: github.event_name == 'push' || github.event.pull_request.head.repo.fork | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
|
|
||
| - name: Install Rye | ||
| - name: Checkout repo | ||
| uses: actions/checkout@v4 | ||
| - name: Set up python | ||
| uses: actions/setup-python@v4 | ||
| with: | ||
| python-version: 3.8 | ||
| - name: Bootstrap poetry | ||
| run: | | ||
| curl -sSf https://rye.astral.sh/get | bash | ||
| echo "$HOME/.rye/shims" >> $GITHUB_PATH | ||
| env: | ||
| RYE_VERSION: '0.44.0' | ||
| RYE_INSTALL_OPTION: '--yes' | ||
|
|
||
| - name: Bootstrap | ||
| run: ./scripts/bootstrap | ||
| curl -sSL https://install.python-poetry.org | python - -y --version 1.5.1 | ||
| - name: Install dependencies | ||
| run: poetry install | ||
|
|
||
| - name: Run tests | ||
| run: ./scripts/test | ||
| - name: Test | ||
| run: poetry run pytest -rP . | ||
|
Check warning on line 37 in .github/workflows/ci.yml
|
||
This file was deleted.
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,15 +1,5 @@ | ||
| .prism.log | ||
| _dev | ||
|
|
||
| __pycache__ | ||
| .mypy_cache | ||
|
|
||
| dist | ||
|
|
||
| .venv | ||
| .idea | ||
|
|
||
| .env | ||
| .envrc | ||
| codegen.log | ||
| Brewfile.lock.json | ||
| .mypy_cache/ | ||
| .ruff_cache/ | ||
| __pycache__/ | ||
| dist/ | ||
| poetry.toml |
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
Check warning
Code scanning / CodeQL
Workflow does not contain permissions Medium