Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add jump det comment and summary #16

Merged
merged 6 commits into from
Jan 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 17 additions & 19 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on:
push:
branches:
- main
- missing_eval

jobs:
test:
Expand All @@ -22,7 +23,7 @@ jobs:
sparse-checkout-cone-mode: false
path: 'bench_data'

- run: tree
# - run: tree

- name: Evaluate benchmark
uses: ./
Expand All @@ -33,26 +34,23 @@ jobs:
file_with_bench_data: data.json
folder_with_current_benchmark_results: resultsFolder
bench_group_name: "MongoDB Benchmark"
evaluation_method: "threshold"
threshold_values: 2500,700,50000,5000,30000
comparison_operators: tolerance,tolerance,tolerance,tolerance,tolerance
comparison_margins: 10,10,10,10,10
result_files_merge_strategy_for_each_metric: "sum, average, average, average, average"
evaluation_method: "jump_detection"
jump_detection_thresholds: "10, 10, 10, 10, 10"
save_curr_bench_res: true
github_token: ${{ secrets.GH_TOKEN }}
github_context: ${{ toJson(github) }}

- name: Commit files
working-directory: ./bench_data
run: |
git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com"
git config --local user.name "github-actions[bot]"
git commit -a -m "Add changes"
git push origin bench_data

- name: Check output and fail if needed
if: steps.eval.outputs.should_fail == 'true'
run: |
echo "Failing as indicated by evaluation action"
exit 1
# - name: Commit files
# working-directory: ./bench_data
# run: |
# git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com"
# git config --local user.name "github-actions[bot]"
# git commit -a -m "Add changes"
# git push origin bench_data
#
# - name: Check output and fail if needed
# if: steps.eval.outputs.should_fail == 'true'
# run: |
# echo "Failing as indicated by evaluation action"
# exit 1

191 changes: 178 additions & 13 deletions dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

39 changes: 0 additions & 39 deletions resultsFolder/result_wg-medium2.json

This file was deleted.

Loading