fix(deps): update rust crate pyo3 to 0.23.0 #753
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: Benchmark with CodSpeed | |
on: | |
push: | |
branches: | |
- 'main' | |
merge_group: | |
pull_request: | |
workflow_dispatch: | |
repository_dispatch: | |
types: [trigger_checks] | |
jobs: | |
codspeed-benchmarks: | |
timeout-minutes: 180 | |
runs-on: ubuntu-24.04 | |
name: codspeed benchmarks | |
steps: | |
- name: Checkout Code | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
- name: Cache rust build | |
uses: actions/cache@v4 | |
with: | |
path: rust/target/ | |
key: codspeed-rust-target-313-${{ runner.os }}-${{ hashFiles('**/Cargo.lock') }}-${{ github.run_id }} | |
restore-keys: | | |
codspeed-rust-target-313-${{ runner.os }}-${{ hashFiles('**/Cargo.lock') }}- | |
codspeed-rust-target-313-${{ runner.os }}- | |
- name: Install artistools | |
run: | | |
python3 -m pip install uv | |
python3 -m uv pip install --compile-bytecode --editable . | |
- name: Cache test data | |
uses: actions/cache@v4 | |
with: | |
enableCrossOsArchive: true | |
path: tests/data/*.tar.xz | |
key: testdata20231114 | |
- name: Download/extract test data | |
working-directory: tests/data/ | |
run: source ./setuptestdata.sh | |
- name: Run benchmarks | |
uses: CodSpeedHQ/action@v3 | |
with: | |
token: ${{ secrets.CODSPEED_TOKEN }} | |
run: pytest --codspeed |