Skip to content

Commit

Permalink
Move scripts used in GHA to a more sensible place
Browse files Browse the repository at this point in the history
  • Loading branch information
alex committed Jan 15, 2025
1 parent 0bf3559 commit 3138554
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 6 deletions.
File renamed without changes.
File renamed without changes.
9 changes: 4 additions & 5 deletions .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down

0 comments on commit 3138554

Please sign in to comment.