Skip to content

Commit 8e12788

Browse files
committed
precompile spreadsheet by default
1 parent bc7a66e commit 8e12788

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/spreadsheet-cfml.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on:
55
inputs:
66
compile:
77
required: false
8-
default: false
8+
default: true
99
type: boolean
1010
workflow_call:
1111

@@ -52,8 +52,8 @@ jobs:
5252
fail-fast: false
5353
max-parallel: 1
5454
matrix:
55-
luceeVersion: [ 6.2/snapshot/jar, 6.2.0.166/rc/jar, 6.1/snapshot/jar, 6.0/snapshot/jar, 5.4/snapshot/jar ]
56-
javaVersion: [ 11, 21, 23 ]
55+
luceeVersion: [ 6.2/snapshot/jar, 6.1/snapshot/jar, 6.0/snapshot/jar, 5.4/snapshot/jar ]
56+
javaVersion: [ 11, 21 ]
5757
exclude:
5858
- luceeVersion: 5.4/snapshot/jar
5959
javaVersion: 21

custom/spreadsheet-cfml/test/report.cfm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@
130130
// difference between the test time for the newest version minus oldest version
131131
var diff = sortedRuns[arrayLen(runs)].stats[test.suiteSpec].time - sortedRuns[1].stats[test.suiteSpec].time;
132132
try {
133-
var percentage = int( ( sortedRuns[1].stats[test.suiteSpec].time / sortedRuns[arrayLen(runs)].stats[test.suiteSpec].time ) * 100 );
133+
var percentage = 100-int( ( sortedRuns[1].stats[test.suiteSpec].time / sortedRuns[arrayLen(runs)].stats[test.suiteSpec].time ) * 100 );
134134
} catch (e){
135135
var percentage = "err"; // probably div by zero
136136
}

0 commit comments

Comments
 (0)