Skip to content

Include all of the tests folder in the source tarball; Also update Github Actions #88

Include all of the tests folder in the source tarball; Also update Github Actions

Include all of the tests folder in the source tarball; Also update Github Actions #88

name: Benchmark (CPython)
on:
pull_request:
branches:
- '*'
push:
branches:
- master
jobs:
run-benchmarks:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Check out source
uses: actions/checkout@v4
with:
fetch-depth: 1
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.12'
- name: Install dependencies
run: |
python -m pip install pip setuptools wheel --upgrade
- name: Install package
run: |
python -m pip install .
- name: Install benchmark dependencies
run: |
python -m pip install simple_benchmark[optional]
- name: Install other packages dependencies
run: |
python -m pip install cython
- name: Install other packages
run: |
python -m pip install more-itertools toolz cytoolz pydash
- name: Run benchmarks
run: |
python ./ci/collect_benchmarks.py
- name: Upload results
uses: actions/upload-artifact@v4
with:
name: py3.12-benchmarks
path: ./.benchmark_results/