Move scripts used in GHA to a more sensible place (#12288)

This commit is contained in:
Alex Gaynor 2025-01-15 11:16:34 -05:00 committed by GitHub
parent 0bf3559eba
commit b154fefdfd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 5 additions and 6 deletions

View file

@ -2,15 +2,14 @@ name: Benchmark
on:
pull_request:
paths:
- '.github/workflows/benchmark.yml'
- 'src/**'
- 'tests/**'
- ".github/workflows/benchmark.yml"
- "src/**"
- "tests/**"
workflow_dispatch:
inputs:
base_commit:
description: The base commit to compare against
permissions:
contents: read
@ -63,4 +62,4 @@ jobs:
run: .venv-pr/bin/pytest --benchmark-enable --benchmark-only ./cryptography-pr/tests/bench/ --benchmark-json=bench-pr.json --x509-limbo-root=x509-limbo/
- name: Compare results
run: python ./cryptography-pr/.github/compare_benchmarks.py bench-base.json bench-pr.json | tee -a $GITHUB_STEP_SUMMARY
run: python ./cryptography-pr/.github/bin/compare_benchmarks.py bench-base.json bench-pr.json | tee -a $GITHUB_STEP_SUMMARY

View file

@ -106,7 +106,7 @@ jobs:
key: ${{ matrix.PYTHON.OPENSSL.TYPE }}-${{ matrix.PYTHON.OPENSSL.VERSION }}-${{ env.OPENSSL_HASH }}-14
if: matrix.PYTHON.OPENSSL
- name: Build custom OpenSSL/LibreSSL
run: .github/workflows/build_openssl.sh
run: .github/bin/build_openssl.sh
env:
TYPE: ${{ matrix.PYTHON.OPENSSL.TYPE }}
VERSION: ${{ matrix.PYTHON.OPENSSL.VERSION }}