forked from equinor/ert
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
91ea363
commit e9fdc33
Showing
1 changed file
with
36 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
name: Process Dark Storage Benchmark Result | ||
on: | ||
push: | ||
branches: | ||
- gh-pages | ||
paths: | ||
- /dev/dark_storage_performance_benchmark/** | ||
|
||
permissions: | ||
# deployments permission to deploy GitHub pages website | ||
deployments: write | ||
# contents permission to update benchmark contents in gh-pages branch | ||
contents: write | ||
|
||
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 |