remove other codspeed workflow

This commit is contained in:
Sydney Runkle 2025-05-29 09:44:36 -04:00
parent 7c5af3a84b
commit a2988c6f0b
2 changed files with 28 additions and 15 deletions

View File

@ -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]

View File

@ -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