DOC: URLs link to original numpy and pandas docs #2692
Workflow file for this run
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: Xorbits Continuous Benchmark | |
on: | |
pull_request: | |
branches: | |
- main | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
asv-benchmarks: | |
name: ASV Benchmarks | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
shell: bash -l {0} | |
concurrency: | |
# https://github.community/t/concurrecy-not-work-for-push/183068/7 | |
group: ${{ github.event_name == 'push' && github.run_number || github.ref }}-asv-benchmarks | |
cancel-in-progress: true | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Set up conda python3.11 | |
uses: conda-incubator/[email protected] | |
with: | |
python-version: 3.11 | |
- name: Install dependencies | |
id: build | |
shell: bash -el {0} | |
run: | | |
conda install anaconda::libmambapy | |
pip install "numpy<2.0" scipy cython coverage asv | |
cd python && pip install -e ".[dev,extra]" | |
- name: Run ASV benchmarks | |
shell: bash -el {0} | |
run: | | |
unset CI | |
cd asv | |
asv check -E existing | |
git remote add upstream https://github.com/xorbitsai/xorbits.git | |
git fetch upstream | |
asv machine --yes | |
asv continuous -f 1.1 --show-stderr upstream/main HEAD | |
if: ${{ steps.build.outcome == 'success' }} | |
- name: Publish benchmarks artifact | |
uses: actions/upload-artifact@v4 | |
with: | |
name: Benchmarks log | |
path: benchmarks/asv_bench/results | |
if: failure() |