mirror of
https://github.com/emmett-framework/granian.git
synced 2025-12-23 05:36:49 +00:00
Some checks failed
test / linux (3.10) (push) Has been cancelled
test / linux (3.11) (push) Has been cancelled
test / linux (3.12) (push) Has been cancelled
test / linux (3.13) (push) Has been cancelled
test / linux (3.14) (push) Has been cancelled
test / linux (3.9) (push) Has been cancelled
test / linux (pypy3.11) (push) Has been cancelled
test / linux (3.13t) (push) Has been cancelled
test / linux (3.14t) (push) Has been cancelled
test / macos (3.10) (push) Has been cancelled
test / macos (3.11) (push) Has been cancelled
test / macos (3.12) (push) Has been cancelled
test / macos (3.13) (push) Has been cancelled
test / macos (3.14) (push) Has been cancelled
test / macos (3.9) (push) Has been cancelled
test / macos (3.13t) (push) Has been cancelled
test / macos (3.14t) (push) Has been cancelled
test / windows (3.10) (push) Has been cancelled
test / windows (3.11) (push) Has been cancelled
test / windows (3.12) (push) Has been cancelled
test / windows (3.13) (push) Has been cancelled
test / windows (3.13t) (push) Has been cancelled
test / windows (3.14) (push) Has been cancelled
test / windows (3.14t) (push) Has been cancelled
test / windows (3.9) (push) Has been cancelled
Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 4 to 5. - [Release notes](https://github.com/actions/download-artifact/releases) - [Commits](https://github.com/actions/download-artifact/compare/v4...v5) --- updated-dependencies: - dependency-name: actions/download-artifact dependency-version: '5' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
58 lines
1.4 KiB
YAML
58 lines
1.4 KiB
YAML
name: benchmarks-ext
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
schedule:
|
|
- cron: '0 0 1,15 * *'
|
|
|
|
jobs:
|
|
tfb:
|
|
if: github.repository == 'emmett-framework/granian'
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v5
|
|
- uses: actions/setup-python@v5
|
|
with:
|
|
python-version: '3.11'
|
|
- name: deps
|
|
working-directory: ./benchmarks
|
|
run: |
|
|
pip install -r external/tfb/requirements.txt
|
|
- name: pull
|
|
working-directory: ./benchmarks
|
|
run: |
|
|
python external/tfb/loader.py > results/tfb.json
|
|
- name: upload results
|
|
uses: actions/upload-artifact@v4
|
|
with:
|
|
name: results-tfb
|
|
path: benchmarks/results/*
|
|
|
|
results:
|
|
if: github.repository == 'emmett-framework/granian'
|
|
runs-on: ubuntu-latest
|
|
needs: [tfb]
|
|
|
|
steps:
|
|
- uses: actions/checkout@v5
|
|
- uses: gi0baro/setup-noir@v1
|
|
- uses: actions/download-artifact@v5
|
|
with:
|
|
name: results-tfb
|
|
path: benchmarks/results
|
|
- name: render
|
|
working-directory: ./benchmarks
|
|
run: |
|
|
noir -c data:results/tfb.json templates/external/tfb.md > external/tfb.md
|
|
- name: open PR
|
|
uses: peter-evans/create-pull-request@v6
|
|
with:
|
|
branch: benchmarks-ext-update
|
|
branch-suffix: timestamp
|
|
title: Update external benchmark results
|
|
body: SSIA
|
|
commit-message: |
|
|
Update external benchmark results
|
|
add-paths: |
|
|
benchmarks/external
|