Skip to content

chore(deps): lock file maintenance (#27) #35

chore(deps): lock file maintenance (#27)

chore(deps): lock file maintenance (#27) #35

Workflow file for this run

name: Benchmark
on:
push:
branches: [master]
merge_group:
branches: [master]
permissions:
# deployments permission to deploy GitHub pages website
deployments: write
# contents permission to update benchmark contents in gh-pages branch
contents: write
env:
PRE_COMMIT_ALLOW_NO_CONFIG: 1
jobs:
Test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: true
- name: Setup PDM
uses: pdm-project/setup-pdm@v4
with:
python-version: "3.10"
cache: true
- name: Install dependencies
run: pdm install --frozen-lock
- name: Run tests
run: pdm benchmark
- name: Store benchmark result
uses: benchmark-action/github-action-benchmark@v1
with:
tool: "pytest"
output-file-path: benchmark.json
fail-on-alert: true
github-token: ${{ secrets.GITHUB_TOKEN }}
comment-on-alert: true
summary-always: true
auto-push: true
gh-pages-branch: pages