mirror of
https://github.com/saymrwulf/cryptography.git
synced 2026-05-14 20:37:55 +00:00
Move scripts used in GHA to a more sensible place (#12288)
This commit is contained in:
parent
0bf3559eba
commit
b154fefdfd
4 changed files with 5 additions and 6 deletions
9
.github/workflows/benchmark.yml
vendored
9
.github/workflows/benchmark.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
|
|
@ -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 }}
|
||||
|
|
|
|||
Loading…
Reference in a new issue