File tree Expand file tree Collapse file tree 3 files changed +41
-4
lines changed
Expand file tree Collapse file tree 3 files changed +41
-4
lines changed Original file line number Diff line number Diff line change 11name : Run e2e tests - neptune-query
22
3+ permissions :
4+ checks : write
5+
36on :
47 schedule :
58 - cron : ' 0 8 * * *' # Run at 8:00 daily
@@ -65,10 +68,13 @@ jobs:
6568 uses : mikepenz/action-junit-report@v5
6669 if : always()
6770 with :
71+ check_name : ' E2E tests report'
6872 report_paths : " ./test-results/test-e2e*.xml"
69- update_check : true
70- annotate_notice : true
71- job_name : " e2e tests"
73+ detailed_summary : true
74+ verbose_summary : true
75+ include_passed : true
76+ include_time_in_summary : true
77+ resolve_ignore_classname : true
7278
7379 - name : Notify Slack on failure
7480 if : failure() && github.event_name == 'schedule'
Original file line number Diff line number Diff line change 11name : Performance tests
22
3+ permissions :
4+ checks : write
5+
36on :
47 schedule :
58 - cron : ' 0 8 * * *' # Run at 8:00 daily
1720# - '.github/workflows/tests-performance.yml'
1821
1922jobs :
20- test :
23+ test-performance :
2124 runs-on : gcp-perf-test-dedicated
2225 container :
2326 image : ubuntu:24.04
4548 - name : Run performance tests
4649 run : |
4750 pytest --junitxml="test-results/test-performance.xml" tests/performance
51+
52+ - name : Report measurements
53+ uses : mikepenz/action-junit-report@v5
54+ if : always()
55+ with :
56+ check_name : ' Performance measurements'
57+ report_paths : " ./test-results/test-performance.xml"
58+ detailed_summary : true
59+ include_passed : true
60+ include_time_in_summary : true
61+ resolve_ignore_classname : true
62+
63+ - name : Performance validation
64+ uses : mikepenz/action-junit-report@v5
65+ if : always()
66+ with :
67+ check_name : ' Performance validation'
68+ report_paths : " ./test-results/test-performance__validation.xml"
69+ detailed_summary : true
70+ include_passed : true
71+ include_time_in_summary : true
72+ resolve_ignore_classname : true
Original file line number Diff line number Diff line change @@ -22,6 +22,12 @@ def pytest_configure(config):
2222 config .option .benchmark_time_unit = "ms"
2323 config .option .benchmark_sort = "name"
2424 config .option .benchmark_json = BytesIO ()
25+ config .option .junitxml = "benchmark_measurement.xml"
26+ else :
27+ if config .option .xmlpath :
28+ # For --junitxml = /path/abc.xml, create /path/abc__validation.xml
29+ path = Path (config .option .xmlpath )
30+ config .option .xmlpath = str (path .with_stem (path .stem + "__validation" ))
2531
2632
2733def pytest_benchmark_update_json (config , benchmarks , output_json ):
You can’t perform that action at this time.
0 commit comments