-
Notifications
You must be signed in to change notification settings - Fork 110
41 lines (37 loc) · 1.17 KB
/
dark_storage_benchmark.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
name: Process Dark Storage Benchmark Result
on:
push:
branches:
- gh-pages
paths:
- dev/dark_storage_performance_benchmark/output.json
permissions:
# deployments permission to deploy GitHub pages website
deployments: write
# contents permission to update benchmark contents in gh-pages branch
contents: write
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
jobs:
benchmark:
name: Run pytest-benchmark dark storage
timeout-minutes: 90
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: true
lfs: true
ref: gh-pages
- name: Store benchmark result
uses: benchmark-action/github-action-benchmark@v1
with:
name: Python Dark Storage Benchmark
tool: 'pytest'
output-file-path: dev/dark_storage_performance_benchmark/output.json
benchmark-data-dir-path: dev/dark_storage_performance_benchmark
github-token: ${{ secrets.GITHUB_TOKEN }}
auto-push: true
skip-fetch-gh-pages: true