Skip to content

Commit e414490

Browse files
committed
Adapt build.yml
1 parent 9467839 commit e414490

File tree

3 files changed

+16
-13
lines changed

3 files changed

+16
-13
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
tag: credit-card-views
4040
test_commands: |
4141
compile -c creditcard_views_package_test.json
42-
# FIXME test -c creditcard_views_package_test.json
42+
test -c creditcard_views_package_test.json
4343
4444
- example: healthcare-study-analytics
4545
path: healthcare-study/healthcare-study-analytics
@@ -103,7 +103,7 @@ jobs:
103103
104104
env:
105105
TZ: 'America/Los_Angeles'
106-
SQRL_VERSION: 'dev'
106+
SQRL_VERSION: 'latest'
107107

108108
steps:
109109
- uses: actions/checkout@v4

finance-credit-card-chatbot/credit-card-views/creditcard_views.sqrl

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,5 +33,8 @@ CustomerTransactionWithMerchant :=
3333
/* =======TEST CASES======== */
3434

3535
/*+test */
36-
SpendingByCategoryTest := SELECT * FROM SpendingByCategory ORDER BY customerId DESC, timeWeek DESC limit 5;
36+
SpendingByCategoryTest := SELECT *
37+
FROM SpendingByCategory
38+
ORDER BY customerId DESC, timeWeek DESC, spending DESC
39+
LIMIT 5;
3740

finance-credit-card-chatbot/credit-card-views/snapshots/SpendingByCategoryTest.snapshot

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,28 +3,28 @@
33
"SpendingByCategoryTest" : [ {
44
"customerId" : 10,
55
"timeWeek" : "2024-05-30T13:59:59.999Z",
6-
"category" : "Entertainment",
7-
"spending" : 263.24
6+
"category" : "Housing & Utilities",
7+
"spending" : 4767.13
88
}, {
99
"customerId" : 10,
1010
"timeWeek" : "2024-05-30T13:59:59.999Z",
11-
"category" : "Groceries",
12-
"spending" : 1529.74
11+
"category" : "Miscellaneous",
12+
"spending" : 2431.46
1313
}, {
1414
"customerId" : 10,
1515
"timeWeek" : "2024-05-30T13:59:59.999Z",
16-
"category" : "Communication",
17-
"spending" : 198.98
16+
"category" : "Travel & Vacations",
17+
"spending" : 2088.6
1818
}, {
1919
"customerId" : 10,
2020
"timeWeek" : "2024-05-30T13:59:59.999Z",
21-
"category" : "Clothing & Apparel",
22-
"spending" : 976.09
21+
"category" : "Groceries",
22+
"spending" : 1529.74
2323
}, {
2424
"customerId" : 10,
2525
"timeWeek" : "2024-05-30T13:59:59.999Z",
26-
"category" : "Health & Wellness",
27-
"spending" : 493.13
26+
"category" : "Restaurants & Dining",
27+
"spending" : 1478.88
2828
} ]
2929
}
3030
}

0 commit comments

Comments
 (0)