mirror of
https://github.com/hwchase17/langchain.git
synced 2025-08-15 23:57:21 +00:00
remove other codspeed workflow
This commit is contained in:
parent
7c5af3a84b
commit
a2988c6f0b
15
.github/workflows/check_diffs.yml
vendored
15
.github/workflows/check_diffs.yml
vendored
@ -42,7 +42,6 @@ jobs:
|
||||
dependencies: ${{ steps.set-matrix.outputs.dependencies }}
|
||||
test-doc-imports: ${{ steps.set-matrix.outputs.test-doc-imports }}
|
||||
test-pydantic: ${{ steps.set-matrix.outputs.test-pydantic }}
|
||||
codspeed: ${{ steps.set-matrix.outputs.codspeed }}
|
||||
lint:
|
||||
name: cd ${{ matrix.job-configs.working-directory }}
|
||||
needs: [ build ]
|
||||
@ -154,20 +153,6 @@ jobs:
|
||||
# and `set -e` above will cause the step to fail.
|
||||
echo "$STATUS" | grep 'nothing to commit, working tree clean'
|
||||
|
||||
codspeed:
|
||||
name: cd ${{ matrix.job-configs.working-directory }}
|
||||
needs: [ build ]
|
||||
if: ${{ needs.build.outputs.codspeed != '[]' }}
|
||||
strategy:
|
||||
matrix:
|
||||
job-configs: ${{ fromJson(needs.build.outputs.codspeed) }}
|
||||
fail-fast: false
|
||||
uses: ./.github/workflows/codspeed.yml
|
||||
with:
|
||||
working-directory: ${{ matrix.job-configs.working-directory }}
|
||||
python-version: ${{ matrix.job-configs.python-version }}
|
||||
secrets: inherit
|
||||
|
||||
ci_success:
|
||||
name: "CI Success"
|
||||
needs: [build, lint, test, compile-integration-tests, extended-tests, test-doc-imports, test-pydantic]
|
||||
|
28
.github/workflows/codspeed.yml
vendored
28
.github/workflows/codspeed.yml
vendored
@ -20,6 +20,20 @@ env:
|
||||
FIREWORKS_API_KEY: foo
|
||||
|
||||
jobs:
|
||||
# build:
|
||||
# runs-on: ubuntu-latest
|
||||
# steps:
|
||||
# - uses: actions/checkout@v4
|
||||
# - name: Install uv
|
||||
# uses: astral-sh/setup-uv@v6
|
||||
# with:
|
||||
# python-version: "3.12"
|
||||
# - id: files
|
||||
# uses: Ana06/get-changed-files@v2.3.0
|
||||
# - id: set-matrix
|
||||
# run: |
|
||||
# uv pip install packaging requests
|
||||
# uv run .github/scripts/check_diff.py ${{ steps.files.outputs.all }} >> $GITHUB_OUTPUT
|
||||
codspeed:
|
||||
name: Run benchmarks
|
||||
runs-on: ubuntu-latest
|
||||
@ -59,3 +73,17 @@ jobs:
|
||||
uv run --no-sync pytest ./tests/ --codspeed
|
||||
fi
|
||||
mode: ${{ matrix.mode || 'instrumentation' }}
|
||||
|
||||
# codspeed:
|
||||
# name: cd ${{ matrix.job-configs.working-directory }}
|
||||
# needs: [ build ]
|
||||
# if: ${{ needs.build.outputs.codspeed != '[]' }}
|
||||
# strategy:
|
||||
# matrix:
|
||||
# job-configs: ${{ fromJson(needs.build.outputs.codspeed) }}
|
||||
# fail-fast: false
|
||||
# uses: ./.github/workflows/codspeed.yml
|
||||
# with:
|
||||
# working-directory: ${{ matrix.job-configs.working-directory }}
|
||||
# python-version: ${{ matrix.job-configs.python-version }}
|
||||
# secrets: inherit
|
||||
|
Loading…
Reference in New Issue
Block a user