-
Notifications
You must be signed in to change notification settings - Fork 39
4158 lines (4037 loc) · 145 KB
/
test.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
---
name: Test
'on':
pull_request:
branches:
- main
schedule:
- cron: 0 10 * * *
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
detect-changes:
name: Detect Changes
runs-on: ubuntu-24.04
environment: test
timeout-minutes: 10
permissions:
pull-requests: read
outputs:
amazon-sagemaker-pytorch-mnist: ${{ steps.filter.outputs.amazon-sagemaker-pytorch-mnist }}
amazon-sagemaker-triton-resnet-50-deploy: ${{ steps.filter.outputs.amazon-sagemaker-triton-resnet-50-deploy }}
amazon-sagemaker-triton-resnet-50-infer: ${{ steps.filter.outputs.amazon-sagemaker-triton-resnet-50-infer }}
api-go: ${{ steps.filter.outputs.api-go }}
api-node: ${{ steps.filter.outputs.api-node }}
api-python: ${{ steps.filter.outputs.api-python }}
api-rust: ${{ steps.filter.outputs.api-rust }}
call-matlab-function-in-python: ${{ steps.filter.outputs.call-matlab-function-in-python }}
dali: ${{ steps.filter.outputs.dali }}
decode-can-data: ${{ steps.filter.outputs.decode-can-data }}
development-aws-glue-spark-scripts: ${{ steps.filter.outputs.development-aws-glue-spark-scripts }}
production-aws-glue-spark-scripts: ${{ steps.filter.outputs.production-aws-glue-spark-scripts }}
format-can-data: ${{ steps.filter.outputs.format-can-data }}
convolutional-neural-network: ${{ steps.filter.outputs.convolutional-neural-network }}
data-distribution-service: ${{ steps.filter.outputs.data-distribution-service }}
dbt-hm-postgres: ${{ steps.filter.outputs.dbt-hm-postgres }}
delta-lake-read-delta-lake-by-amazon-athena: ${{ steps.filter.outputs.delta-lake-read-delta-lake-by-amazon-athena }}
delta-lake-read-delta-lake-by-trino: ${{ steps.filter.outputs.delta-lake-read-delta-lake-by-trino }}
delta-lake-write-to-delta-lake: ${{ steps.filter.outputs.delta-lake-write-to-delta-lake }}
feature-store: ${{ steps.filter.outputs.feature-store }}
flink-stream-tweets: ${{ steps.filter.outputs.flink-stream-tweets }}
grafana-hm-dashboard: ${{ steps.filter.outputs.grafana-hm-dashboard }}
grafana-hm-panel-plugin: ${{ steps.filter.outputs.grafana-hm-panel-plugin }}
graph-neural-network: ${{ steps.filter.outputs.graph-neural-network }}
hm-aerosandbox: ${{ steps.filter.outputs.hm-aerosandbox }}
hm-airflow: ${{ steps.filter.outputs.hm-airflow }}
hm-cudf: ${{ steps.filter.outputs.hm-cudf }}
hm-cupy: ${{ steps.filter.outputs.hm-cupy }}
hm-geopandas: ${{ steps.filter.outputs.hm-geopandas }}
hm-numba: ${{ steps.filter.outputs.hm-numba }}
hm-pandas: ${{ steps.filter.outputs.hm-pandas }}
hm-polars: ${{ steps.filter.outputs.hm-polars }}
national-instruments-hm-pyvisa: ${{ steps.filter.outputs.national-instruments-hm-pyvisa }}
national-instruments-hm-tdms: ${{ steps.filter.outputs.national-instruments-hm-tdms }}
national-instruments-hm-veristand: ${{ steps.filter.outputs.national-instruments-hm-veristand }}
hm-autogluon: ${{ steps.filter.outputs.hm-autogluon }}
hm-aws-parallelcluster: ${{ steps.filter.outputs.hm-aws-parallelcluster }}
hm-docling: ${{ steps.filter.outputs.hm-docling }}
hm-duckdb-query-duckdb: ${{ steps.filter.outputs.hm-duckdb-query-duckdb }}
hm-duckdb-query-lance: ${{ steps.filter.outputs.hm-duckdb-query-lance }}
hm-duckdb-query-parquet: ${{ steps.filter.outputs.hm-duckdb-query-parquet }}
hm-duckdb-query-protobuf: ${{ steps.filter.outputs.hm-duckdb-query-protobuf }}
hm-flax: ${{ steps.filter.outputs.hm-flax }}
hm-gradio-classify-image: ${{ steps.filter.outputs.hm-gradio-classify-image }}
hm-streamlit-live-line-chart: ${{ steps.filter.outputs.hm-streamlit-live-line-chart }}
hm-streamlit-map: ${{ steps.filter.outputs.hm-streamlit-map }}
hm-imagebind: ${{ steps.filter.outputs.hm-imagebind }}
open-clip: ${{ steps.filter.outputs.open-clip }}
hm-jax: ${{ steps.filter.outputs.hm-jax }}
hm-kubeflow-calculate: ${{ steps.filter.outputs.hm-kubeflow-calculate }}
hm-kubeflow-classify-mnist: ${{ steps.filter.outputs.hm-kubeflow-classify-mnist }}
hm-lancedb: ${{ steps.filter.outputs.hm-lancedb }}
hm-langchain-chat-pdf: ${{ steps.filter.outputs.hm-langchain-chat-pdf }}
hm-langgraph-chat-pdf: ${{ steps.filter.outputs.hm-langgraph-chat-pdf }}
hm-llama-index-chat-pdf: ${{ steps.filter.outputs.hm-llama-index-chat-pdf }}
hm-mlflow-classify-mnist: ${{ steps.filter.outputs.hm-mlflow-classify-mnist }}
hm-mlflow-predict-diabetes: ${{ steps.filter.outputs.hm-mlflow-predict-diabetes }}
hm-opal-client: ${{ steps.filter.outputs.hm-opal-client }}
hm-open3d: ${{ steps.filter.outputs.hm-open3d }}
hm-openaerostruct: ${{ steps.filter.outputs.hm-openaerostruct }}
hm-prefect-calculate: ${{ steps.filter.outputs.hm-prefect-calculate }}
hm-prefect-greet: ${{ steps.filter.outputs.hm-prefect-greet }}
hm-prefect-print-platform: ${{ steps.filter.outputs.hm-prefect-print-platform }}
hm-protobuf: ${{ steps.filter.outputs.hm-protobuf }}
hm-prowler: ${{ steps.filter.outputs.hm-prowler }}
hm-pulumi: ${{ steps.filter.outputs.hm-pulumi }}
hm-pyvista-mount-saint-helens: ${{ steps.filter.outputs.hm-pyvista-mount-saint-helens }}
hm-rasa: ${{ steps.filter.outputs.hm-rasa }}
hm-ray-calculate: ${{ steps.filter.outputs.hm-ray-calculate }}
hm-ray-process-flight-data: ${{ steps.filter.outputs.hm-ray-process-flight-data }}
hm-serial: ${{ steps.filter.outputs.hm-serial }}
hm-skypilot: ${{ steps.filter.outputs.hm-skypilot }}
hm-spark-analyze-coffee-customers: ${{ steps.filter.outputs.hm-spark-analyze-coffee-customers }}
hm-spark-find-retired-people-python: ${{ steps.filter.outputs.hm-spark-find-retired-people-python }}
hm-spark-find-retired-people-scala: ${{ steps.filter.outputs.hm-spark-find-retired-people-scala }}
hm-spark-find-taxi-top-routes: ${{ steps.filter.outputs.hm-spark-find-taxi-top-routes }}
hm-spark-find-taxi-top-routes-sql: ${{ steps.filter.outputs.hm-spark-find-taxi-top-routes-sql }}
hm-spark-ingest-from-s3-to-kafka: ${{ steps.filter.outputs.hm-spark-ingest-from-s3-to-kafka }}
hm-spark-recommend-movies: ${{ steps.filter.outputs.hm-spark-recommend-movies }}
hm-supervision-detect-objects: ${{ steps.filter.outputs.hm-supervision-detect-objects }}
hm-xxhash: ${{ steps.filter.outputs.hm-xxhash }}
iads-iads-config-reader: ${{ steps.filter.outputs.iads-iads-config-reader }}
iads-iads-data-reader: ${{ steps.filter.outputs.iads-iads-data-reader }}
iads-iads-data-producer: ${{ steps.filter.outputs.iads-iads-data-producer }}
iads-zeromq-iads-bridge: ${{ steps.filter.outputs.iads-zeromq-iads-bridge }}
hugging-face-analyze-sentiment: ${{ steps.filter.outputs.hugging-face-analyze-sentiment }}
lance: ${{ steps.filter.outputs.lance }}
kafka-rust-proto-consumer: ${{ steps.filter.outputs.kafka-rust-proto-consumer }}
kafka-rust-proto-producer: ${{ steps.filter.outputs.kafka-rust-proto-producer }}
kafka-rust-udp-kafka-bridge: ${{ steps.filter.outputs.kafka-rust-udp-kafka-bridge }}
kafka-rust-zeromq-kafka-bridge: ${{ steps.filter.outputs.kafka-rust-zeromq-kafka-bridge }}
mineru: ${{ steps.filter.outputs.mineru }}
mobile-android: ${{ steps.filter.outputs.mobile-android }}
mobile-ios: ${{ steps.filter.outputs.mobile-ios }}
mobile-react-native: ${{ steps.filter.outputs.mobile-react-native }}
neural-forecasting-forecast-air-passenger-number: ${{ steps.filter.outputs.neural-forecasting-forecast-air-passenger-number }}
pack-unpack-data: ${{ steps.filter.outputs.pack-unpack-data }}
prometheus: ${{ steps.filter.outputs.prometheus }}
quantum-computing: ${{ steps.filter.outputs.quantum-computing }}
robot-operating-system: ${{ steps.filter.outputs.robot-operating-system }}
reinforcement-learning-cart-pole: ${{ steps.filter.outputs.reinforcement-learning-cart-pole }}
udp-receiver: ${{ steps.filter.outputs.udp-receiver }}
udp-sender: ${{ steps.filter.outputs.udp-sender }}
web: ${{ steps.filter.outputs.web }}
web-cypress: ${{ steps.filter.outputs.web-cypress }}
windows-calculator: ${{ steps.filter.outputs.windows-calculator }}
steps:
- name: Checkout
uses: actions/[email protected]
- uses: dorny/[email protected]
id: filter
with:
filters: |
amazon-sagemaker-pytorch-mnist:
- '.github/workflows/test.yml'
- 'cloud-platform/aws/amazon-sagemaker/pytorch-mnist/**'
amazon-sagemaker-triton-resnet-50-deploy:
- '.github/workflows/test.yml'
- 'machine-learning/triton/amazon-sagemaker-triton-resnet-50/deploy/**'
amazon-sagemaker-triton-resnet-50-infer:
- '.github/workflows/test.yml'
- 'machine-learning/triton/amazon-sagemaker-triton-resnet-50/infer/**'
api-go:
- '.github/workflows/test.yml'
- 'api-go/**'
api-node:
- '.github/workflows/test.yml'
- 'api-node/**'
api-python:
- '.github/workflows/test.yml'
- 'api-python/**'
api-rust:
- '.github/workflows/test.yml'
- 'api-rust/**'
call-matlab-function-in-python:
- '.github/workflows/test.yml'
- 'matlab/call-matlab-function-in-python/**'
dali:
- '.github/workflows/test.yml'
- 'machine-learning/dali/**'
decode-can-data:
- '.github/workflows/test.yml'
- 'embedded/decode-can-data/**'
development-aws-glue-spark-scripts:
- '.github/workflows/test.yml'
- 'cloud-infrastructure/terraform/environments/development/aws/general/files/aws-glue/spark-scripts/**'
production-aws-glue-spark-scripts:
- '.github/workflows/test.yml'
- 'cloud-infrastructure/terraform/environments/production/aws/general/files/aws-glue/spark-scripts/**'
format-can-data:
- '.github/workflows/test.yml'
- 'embedded/format-can-data/**'
convolutional-neural-network:
- '.github/workflows/test.yml'
- 'machine-learning/convolutional-neural-network/**'
data-distribution-service:
- '.github/workflows/test.yml'
- 'data-distribution-service/**'
dbt-hm-postgres:
- '.github/workflows/test.yml'
- 'data-transformation/dbt/projects/dbt_hm_postgres/**'
delta-lake-read-delta-lake-by-amazon-athena:
- '.github/workflows/test.yml'
- 'data-storage/delta-lake/read-delta-lake-by-amazon-athena/**'
delta-lake-read-delta-lake-by-trino:
- '.github/workflows/test.yml'
- 'data-storage/delta-lake/read-delta-lake-by-trino/**'
delta-lake-write-to-delta-lake:
- '.github/workflows/test.yml'
- 'data-storage/delta-lake/write-to-delta-lake/**'
feature-store:
- '.github/workflows/test.yml'
- 'machine-learning/feature-store/**'
flink-stream-tweets:
- '.github/workflows/test.yml'
- 'data-processing/flink/applications/stream-tweets/**'
grafana-hm-dashboard:
- '.github/workflows/test.yml'
- 'data-visualization/grafana/hm-dashboard/**'
grafana-hm-panel-plugin:
- '.github/workflows/test.yml'
- 'data-visualization/grafana/hm-panel-plugin/**'
graph-neural-network:
- '.github/workflows/test.yml'
- 'machine-learning/graph-neural-network/**'
hm-aerosandbox:
- '.github/workflows/test.yml'
- 'aerospace/hm-aerosandbox/**'
hm-airflow:
- '.github/workflows/test.yml'
- 'data-orchestration/hm-airflow/**'
hm-cudf:
- '.github/workflows/test.yml'
- 'data-analytics/hm-cudf/**'
hm-cupy:
- '.github/workflows/test.yml'
- 'data-analytics/hm-cupy/**'
hm-geopandas:
- '.github/workflows/test.yml'
- 'data-analytics/hm-geopandas/**'
hm-numba:
- '.github/workflows/test.yml'
- 'data-analytics/hm-numba/**'
hm-pandas:
- '.github/workflows/test.yml'
- 'data-analytics/hm-pandas/**'
hm-polars:
- '.github/workflows/test.yml'
- 'data-analytics/hm-polars/**'
kafka-rust-proto-consumer:
- '.github/workflows/test.yml'
- 'hm-kafka/kafka-client/kafka-rust/proto-consumer/**'
kafka-rust-proto-producer:
- '.github/workflows/test.yml'
- 'hm-kafka/kafka-client/kafka-rust/proto-producer/**'
kafka-rust-udp-kafka-bridge:
- '.github/workflows/test.yml'
- 'hm-kafka/kafka-client/kafka-rust/udp-kafka-bridge/**'
kafka-rust-zeromq-kafka-bridge:
- '.github/workflows/test.yml'
- 'hm-kafka/kafka-client/kafka-rust/zeromq-kafka-bridge/**'
national-instruments-hm-pyvisa:
- '.github/workflows/test.yml'
- 'hardware-in-the-loop/national-instruments/hm-pyvisa/**'
national-instruments-hm-tdms:
- '.github/workflows/test.yml'
- 'hardware-in-the-loop/national-instruments/hm-tdms/**'
national-instruments-hm-veristand:
- '.github/workflows/test.yml'
- 'hardware-in-the-loop/national-instruments/veristand/hm-veristand/**'
hm-autogluon:
- '.github/workflows/test.yml'
- 'machine-learning/hm-autogluon/**'
hm-aws-parallelcluster:
- '.github/workflows/test.yml'
- 'cloud-platform/aws/aws-parallelcluster/pcluster/**'
hm-docling:
- '.github/workflows/test.yml'
- 'machine-learning/hm-docling/**'
hm-duckdb-query-duckdb:
- '.github/workflows/test.yml'
- 'data-storage/hm-duckdb/query-duckdb/**'
hm-duckdb-query-lance:
- '.github/workflows/test.yml'
- 'data-storage/hm-duckdb/query-lance/**'
hm-duckdb-query-parquet:
- '.github/workflows/test.yml'
- 'data-storage/hm-duckdb/query-parquet/**'
hm-duckdb-query-protobuf:
- '.github/workflows/test.yml'
- 'data-storage/hm-duckdb/query-protobuf/**'
hm-flax:
- '.github/workflows/test.yml'
- 'machine-learning/hm-flax/**'
hm-gradio-classify-image:
- '.github/workflows/test.yml'
- 'machine-learning/hm-gradio/applications/classify-image/**'
hm-imagebind:
- '.github/workflows/test.yml'
- 'computer-vision/hm-imagebind/**'
open-clip:
- '.github/workflows/test.yml'
- 'computer-vision/open-clip/**'
hm-jax:
- '.github/workflows/test.yml'
- 'high-performance-computing/hm-jax/**'
hm-kubeflow-calculate:
- '.github/workflows/test.yml'
- 'machine-learning/hm-kubeflow/pipelines/calculate/**'
hm-kubeflow-classify-mnist:
- '.github/workflows/test.yml'
- 'machine-learning/hm-kubeflow/pipelines/classify-mnist/**'
hm-lancedb:
- '.github/workflows/test.yml'
- 'data-storage/hm-lancedb/**'
hm-langchain-chat-pdf:
- '.github/workflows/test.yml'
- 'machine-learning/hm-langchain/applications/chat-pdf/**'
hm-langgraph-chat-pdf:
- '.github/workflows/test.yml'
- 'machine-learning/hm-langgraph/applications/chat-pdf/**'
hm-llama-index-chat-pdf:
- '.github/workflows/test.yml'
- 'machine-learning/hm-llama-index/applications/chat-pdf/**'
hm-mlflow-classify-mnist:
- '.github/workflows/test.yml'
- 'machine-learning/hm-mlflow/experiments/classify-mnist/**'
hm-mlflow-predict-diabetes:
- '.github/workflows/test.yml'
- 'machine-learning/hm-mlflow/experiments/predict-diabetes/**'
hm-opal-client:
- '.github/workflows/test.yml'
- 'authorization/hm-opal-client/**'
hm-open3d:
- '.github/workflows/test.yml'
- 'computer-vision/hm-open3d/**'
hm-openaerostruct:
- '.github/workflows/test.yml'
- 'computer-vision/hm-openaerostruct/**'
hm-prefect-calculate:
- '.github/workflows/test.yml'
- 'data-orchestration/hm-prefect/workflows/calculate/**'
hm-prefect-greet:
- '.github/workflows/test.yml'
- 'data-orchestration/hm-prefect/workflows/greet/**'
hm-prowler:
- '.github/workflows/test.yml'
- 'cloud-security/hm-prowler/**'
hm-pulumi:
- '.github/workflows/test.yml'
- 'cloud-infrastructure/hm-pulumi/**'
hm-prefect-print-platform:
- '.github/workflows/test.yml'
- 'data-orchestration/hm-prefect/workflows/print-platform/**'
hm-protobuf:
- '.github/workflows/test.yml'
- 'data-storage/hm-protobuf/**'
hm-pyvista-mount-saint-helens:
- '.github/workflows/test.yml'
- 'computer-vision/hm-pyvista/mount-saint-helens/**'
hm-rasa:
- '.github/workflows/test.yml'
- 'machine-learning/hm-rasa/**'
hm-ray-calculate:
- '.github/workflows/test.yml'
- 'cloud-computing/hm-ray/applications/calculate/**'
hm-ray-process-flight-data:
- '.github/workflows/test.yml'
- 'cloud-computing/hm-ray/applications/process-flight-data/**'
hm-serial:
- '.github/workflows/test.yml'
- 'embedded/hm-serial/**'
hm-skypilot:
- '.github/workflows/test.yml'
- 'cloud-computing/hm-skypilot/**'
hm-spark-analyze-coffee-customers:
- '.github/workflows/test.yml'
- 'data-processing/hm-spark/applications/analyze-coffee-customers/**'
hm-spark-find-retired-people-python:
- '.github/workflows/test.yml'
- 'data-processing/hm-spark/applications/find-retired-people-python/**'
hm-spark-find-retired-people-scala:
- '.github/workflows/test.yml'
- 'data-processing/hm-spark/applications/find-retired-people-scala/**'
hm-spark-find-taxi-top-routes:
- '.github/workflows/test.yml'
- 'data-processing/hm-spark/applications/find-taxi-top-routes/**'
hm-spark-find-taxi-top-routes-sql:
- '.github/workflows/test.yml'
- 'data-processing/hm-spark/applications/find-taxi-top-routes-sql/**'
hm-spark-ingest-from-s3-to-kafka:
- '.github/workflows/test.yml'
- 'data-processing/hm-spark/applications/ingest-from-s3-to-kafka/**'
hm-spark-recommend-movies:
- '.github/workflows/test.yml'
- 'data-processing/hm-spark/applications/recommend-movies/**'
hm-streamlit-live-line-chart:
- '.github/workflows/test.yml'
- 'machine-learning/hm-streamlit/applications/live-line-chart/**'
hm-streamlit-map:
- '.github/workflows/test.yml'
- 'machine-learning/hm-streamlit/applications/map/**'
hm-supervision-detect-objects:
- '.github/workflows/test.yml'
- 'machine-learning/hm-supervision/detect-objects/**'
hm-xxhash:
- '.github/workflows/test.yml'
- 'hm-xxhash/**'
hugging-face-analyze-sentiment:
- '.github/workflows/test.yml'
- 'machine-learning/hugging-face/analyze-sentiment/**'
iads-iads-config-reader:
- '.github/workflows/test.yml'
- 'data-visualization/iads/iads-iads-config-reader/**'
iads-iads-data-reader:
- '.github/workflows/test.yml'
- 'data-visualization/iads/iads-iads-data-reader/**'
iads-iads-data-producer:
- '.github/workflows/test.yml'
- 'data-visualization/iads/iads-rtstation/iads-data-producer/**'
iads-zeromq-iads-bridge:
- '.github/workflows/test.yml'
- 'data-visualization/iads/iads-rtstation/zeromq-iads-bridge/**'
lance:
- '.github/workflows/test.yml'
- 'data-storage/lance/**'
mineru:
- '.github/workflows/test.yml'
- 'machine-learning/mineru/**'
mobile-android:
- '.github/workflows/test.yml'
- 'mobile/mobile-android/**'
mobile-ios:
- '.github/workflows/test.yml'
- 'mobile/mobile-ios/**'
mobile-react-native:
- '.github/workflows/test.yml'
- 'mobile/mobile-react-native/**'
neural-forecasting-forecast-air-passenger-number:
- '.github/workflows/test.yml'
- 'machine-learning/neural-forecasting/forecast-air-passenger-number/**'
pack-unpack-data:
- '.github/workflows/test.yml'
- 'embedded/pack-unpack-data/**'
prometheus:
- '.github/workflows/test.yml'
- 'data-storage/prometheus/**'
quantum-computing:
- '.github/workflows/test.yml'
- 'quantum-computing/**'
reinforcement-learning-cart-pole:
- '.github/workflows/test.yml'
- 'machine-learning/reinforcement-learning/cart-pole/**'
robot-operating-system:
- '.github/workflows/test.yml'
- 'robotics/robot-operating-system/**'
udp-receiver:
- '.github/workflows/test.yml'
- 'network-programmability/udp/udp-receiver/**'
udp-sender:
- '.github/workflows/test.yml'
- 'network-programmability/udp/udp-sender/**'
web:
- '.github/workflows/test.yml'
- 'web/**'
web-cypress:
- '.github/workflows/test.yml'
- 'web-cypress/**'
windows-calculator:
- '.github/workflows/test.yml'
- 'operating-system/windows/calculator/**'
lint:
name: Lint
uses: ./.github/workflows/.lint.yml
static-type-check:
name: Static Type Check
uses: ./.github/workflows/.static-type-check.yml
web-test:
name: Web | Test
needs: detect-changes
if: ${{ needs.detect-changes.outputs.web == 'true' }}
runs-on: ubuntu-24.04
environment: test
timeout-minutes: 10
steps:
- name: Checkout
uses: actions/[email protected]
- name: Set up Node.js
uses: actions/[email protected]
with:
node-version-file: web/.node-version
cache: npm
cache-dependency-path: web/package-lock.json
- name: Install dependencies
working-directory: web
run: |
npm ci
- name: Test
working-directory: web
run: |
npm run test:coverage
- name: Upload coverage to Codecov
uses: codecov/[email protected]
with:
directory: web
web-end-to-end-test:
name: Web | End-to-End Test
needs: detect-changes
if: ${{ needs.detect-changes.outputs.api-node == 'true' || needs.detect-changes.outputs.web == 'true' || needs.detect-changes.outputs.web-cypress == 'true' }}
runs-on: ubuntu-24.04
environment: test
timeout-minutes: 10
steps:
- name: Checkout
uses: actions/[email protected]
- name: Set up Node.js
uses: actions/[email protected]
with:
node-version-file: web-cypress/.node-version
cache: npm
cache-dependency-path: web-cypress/package-lock.json
- name: Install dependencies
working-directory: web-cypress
run: |
npm ci
- name: Pull Docker images
working-directory: api-node
run: |
docker compose --file=docker-compose.cypress.yaml pull
- name: Cache Docker images
uses: jpribyl/[email protected]
continue-on-error: true
- name: Start Docker
working-directory: api-node
run: |
docker compose --file=docker-compose.cypress.yaml up --detach
- name: Cypress
working-directory: web-cypress
run: |
npm run test:cypress:headless:58136
- name: Stop Docker
working-directory: api-node
run: |
docker compose --file=docker-compose.cypress.yaml down
web-lighthouse:
name: Web | Lighthouse
needs: detect-changes
if: ${{ needs.detect-changes.outputs.web == 'true' }}
runs-on: ubuntu-24.04
environment: test
timeout-minutes: 10
steps:
- name: Checkout
uses: actions/[email protected]
- name: Set up Node.js
uses: actions/[email protected]
with:
node-version-file: web/.node-version
cache: npm
cache-dependency-path: web/package-lock.json
- name: Install dependencies
working-directory: web
run: |
npm ci
- name: Build
working-directory: web
run: |
npm run build
- name: Lighthouse
working-directory: web
env:
LHCI_GITHUB_APP_TOKEN: ${{ secrets.LHCI_GITHUB_APP_TOKEN }}
run: |
npm run lighthouse
# https://www.chromatic.com/docs/github-actions
web-visual-test:
name: Web | Visual Test
needs: detect-changes
if: ${{ needs.detect-changes.outputs.web == 'true' }}
runs-on: ubuntu-24.04
environment: test
timeout-minutes: 20
steps:
- name: Checkout
uses: actions/[email protected]
with:
# Required to retrieve git history
fetch-depth: 0
- name: Set up Node.js
uses: actions/[email protected]
with:
node-version-file: web/.node-version
cache: npm
cache-dependency-path: web/package-lock.json
- name: Install dependencies
working-directory: web
run: |
npm ci
- name: Build
working-directory: web
run: |
npm run build
npm run storybook:build
- name: Publish storybook to Chromatic
working-directory: web
run: |
npm run storybook:publish -- --project-token=${{ secrets.CHROMATIC_PROJECT_TOKEN }} --exit-zero-on-changes
mobile-ios-test:
name: Mobile - iOS | Test
needs: detect-changes
if: ${{ needs.detect-changes.outputs.mobile-ios == 'true' }}
runs-on: macos-14
environment: test
timeout-minutes: 90
env:
# To use a Gemfile which is not at the root
# https://github.com/ruby/setup-ruby#caching-bundle-install-automatically
BUNDLE_GEMFILE: ${{ github.workspace }}/mobile/mobile-ios/Gemfile
steps:
- name: Checkout
uses: actions/[email protected]
- name: Set up Xcode
uses: maxim-lobanov/[email protected]
with:
xcode-version: 16.1.0
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
working-directory: mobile/mobile-ios
bundler-cache: true
- name: Build
working-directory: mobile/mobile-ios
run: |
xcodebuild build-for-testing \
-project HMMobile.xcodeproj \
-scheme HMMobile \
-destination "platform=iOS Simulator,name=iPhone 16 Pro Max,OS=18.1"
- name: Test
uses: wandalen/[email protected]
with:
current_path: mobile/mobile-ios
command: |
xcodebuild test-without-building \
-project HMMobile.xcodeproj \
-scheme HMMobile \
-destination "platform=iOS Simulator,name=iPhone 16 Pro Max,OS=18.1"
attempt_limit: 3
attempt_delay: 2000
- name: Convert coverage to Cobertura XML format
working-directory: mobile/mobile-ios
run: |
bundle exec slather
- name: Upload coverage to Codecov
uses: codecov/[email protected]
with:
directory: mobile/mobile-ios
mobile-android-lint:
name: Mobile - Android | Lint
needs: detect-changes
if: ${{ needs.detect-changes.outputs.mobile-android == 'true' }}
runs-on: ubuntu-24.04
environment: test
timeout-minutes: 30
steps:
- name: Checkout
uses: actions/[email protected]
- name: Set up Java
uses: actions/[email protected]
with:
distribution: corretto
# https://developer.android.com/build/jdks#compileSdk
java-version: '17'
cache: gradle
- name: Lint
working-directory: mobile/mobile-android
run: |
./gradlew lint
mobile-android-test:
name: Mobile - Android | Test
needs: detect-changes
if: ${{ needs.detect-changes.outputs.mobile-android == 'true' }}
runs-on: ubuntu-24.04
environment: test
timeout-minutes: 30
steps:
- name: Checkout
uses: actions/[email protected]
- name: Set up Java
uses: actions/[email protected]
with:
distribution: corretto
# https://developer.android.com/build/jdks#compileSdk
java-version: '17'
cache: gradle
- name: Test
working-directory: mobile/mobile-android
run: |
./gradlew test
mobile-android-instrumented-test:
name: Mobile - Android | Instrumented Test
needs: detect-changes
if: ${{ needs.detect-changes.outputs.mobile-android == 'true' }}
# Ubuntu displays the message: "You're running a Linux VM where hardware acceleration is not available. Please consider using a macOS VM instead to take advantage of native hardware acceleration support provided by HAXM."
# https://github.com/ReactiveCircus/android-emulator-runner#a-note-on-vm-acceleration-and-why-we-dont-need-haxm-anymore
runs-on: macos-13
environment: test
timeout-minutes: 30
steps:
- name: Checkout
uses: actions/[email protected]
- name: Set up Java
uses: actions/[email protected]
with:
distribution: corretto
# https://developer.android.com/build/jdks#compileSdk
java-version: '17'
cache: gradle
- name: Instrumented Test
uses: reactivecircus/[email protected]
with:
working-directory: mobile/mobile-android
arch: x86_64
api-level: 35
script: ./gradlew connectedAndroidTest
mobile-react-native-test:
name: Mobile - React Native | Test
needs: detect-changes
if: ${{ needs.detect-changes.outputs.mobile-react-native == 'true' }}
runs-on: ubuntu-24.04
environment: test
timeout-minutes: 10
steps:
- name: Checkout
uses: actions/[email protected]
- name: Set up Node.js
uses: actions/[email protected]
with:
node-version-file: mobile/mobile-react-native/.node-version
cache: npm
cache-dependency-path: mobile/mobile-react-native/package-lock.json
- name: Install dependencies
working-directory: mobile/mobile-react-native
run: |
npm ci
- name: Test
working-directory: mobile/mobile-react-native
run: |
npm run test:coverage
- name: Upload coverage to Codecov
uses: codecov/[email protected]
with:
directory: mobile/mobile-react-native
api-go-test:
name: API - Go | Test
needs: detect-changes
if: ${{ needs.detect-changes.outputs.api-go == 'true' }}
runs-on: ubuntu-24.04
environment: test
timeout-minutes: 10
steps:
- name: Checkout
uses: actions/[email protected]
- name: Set up Go
uses: actions/[email protected]
with:
go-version-file: api-go/go.mod
cache-dependency-path: api-go/go.sum
- name: Test
working-directory: api-go
run: |
go test ./... -race -coverprofile=coverage.txt -covermode=atomic
- name: Upload coverage to Codecov
uses: codecov/[email protected]
with:
directory: api-go
api-node-test:
name: API - Node.js | Test
needs: detect-changes
if: ${{ needs.detect-changes.outputs.api-node == 'true' }}
runs-on: ubuntu-24.04
environment: test
timeout-minutes: 10
steps:
- name: Checkout
uses: actions/[email protected]
- name: Set up Node.js
uses: actions/[email protected]
with:
node-version-file: api-node/.node-version
cache: npm
cache-dependency-path: api-node/package-lock.json
- name: Install dependencies
working-directory: api-node
run: |
npm ci
- name: Test
working-directory: api-node
run: |
npm run test:coverage
- name: Upload coverage to Codecov
uses: codecov/[email protected]
with:
directory: api-node
api-node-mutation-test:
name: API - Node.js | Mutation Test
needs: detect-changes
if: ${{ needs.detect-changes.outputs.api-node == 'true' }}
runs-on: ubuntu-24.04
environment: test
timeout-minutes: 10
steps:
- name: Checkout
uses: actions/[email protected]
- name: Set up Node.js
uses: actions/[email protected]
with:
node-version-file: api-node/.node-version
cache: npm
cache-dependency-path: api-node/package-lock.json
- name: Install dependencies
working-directory: api-node
run: |
npm ci
- name: Stryker
working-directory: api-node
env:
STRYKER_DASHBOARD_API_KEY: ${{ secrets.STRYKER_DASHBOARD_API_KEY }}
run: |
npm run test:stryker
api-python-test:
name: API - Python | Test
needs: detect-changes
if: ${{ needs.detect-changes.outputs.api-python == 'true' }}
runs-on: ubuntu-24.04
environment: test
timeout-minutes: 10
steps:
- name: Checkout
uses: actions/[email protected]
# librdkafka is for confluent-kafka
- name: Install librdkafka
run: |
# https://github.com/confluentinc/librdkafka#build-from-source
wget --no-verbose --output-document=librdkafka.tar.gz https://github.com/edenhill/librdkafka/archive/refs/tags/v2.6.0.tar.gz
tar -x -f librdkafka.tar.gz
rm -f librdkafka.tar.gz
cd librdkafka-2.6.0
./configure
make
sudo make install
sudo ldconfig
cd ..
rm -r -f librdkafka-2.6.0/
- name: Install uv
uses: astral-sh/[email protected]
with:
version: 0.5.11
enable-cache: true
cache-dependency-glob: api-python/uv.lock
- name: Set up Python
uses: actions/[email protected]
with:
python-version-file: api-python/pyproject.toml
- name: Install dependencies
working-directory: api-python
run: |
uv sync --dev
- name: Test
working-directory: api-python
run: |
uv run poe test-coverage
- name: Upload coverage to Codecov
uses: codecov/[email protected]
with:
directory: api-python
api-rust-test:
name: API - Rust | Test
needs: detect-changes
if: ${{ needs.detect-changes.outputs.api-rust == 'true' }}
runs-on: ubuntu-24.04
environment: test
timeout-minutes: 10
steps:
- name: Checkout
uses: actions/[email protected]
- name: Install OpenCV
run: |
sudo apt-get update
sudo apt-get install --yes libopencv-dev
- name: Set up Rust
uses: actions-rust-lang/[email protected]
- name: Install dependencies
working-directory: api-rust
run: |
cargo build
- name: Test
working-directory: api-rust
run: |
cargo test --all-features
airflow-test:
name: Airflow | Test
needs: detect-changes
if: ${{ needs.detect-changes.outputs.hm-airflow == 'true' }}
runs-on: ubuntu-24.04
environment: test
timeout-minutes: 10
steps:
- name: Checkout
uses: actions/[email protected]
- name: Install uv
uses: astral-sh/[email protected]
with:
version: 0.5.11
enable-cache: true
cache-dependency-glob: data-orchestration/hm-airflow/uv.lock
- name: Set up Python
uses: actions/[email protected]
with:
python-version-file: data-orchestration/hm-airflow/pyproject.toml
- name: Install dependencies
working-directory: data-orchestration/hm-airflow
run: |
uv sync --dev
- name: Test
working-directory: data-orchestration/hm-airflow
run: |
uv run poe test-coverage
- name: Upload coverage to Codecov
uses: codecov/[email protected]
with:
directory: data-orchestration/hm-airflow
amazon-sagemaker-pytorch-mnist-test:
name: Amazon SageMaker (pytorch-mnist) | Test
needs: detect-changes
if: ${{ needs.detect-changes.outputs.amazon-sagemaker-pytorch-mnist == 'true' }}
runs-on: ubuntu-24.04
environment: test
timeout-minutes: 10
steps:
- name: Checkout
uses: actions/[email protected]
- name: Install uv
uses: astral-sh/[email protected]
with:
version: 0.5.11
enable-cache: true
cache-dependency-glob: cloud-platform/aws/amazon-sagemaker/pytorch-mnist/uv.lock
- name: Set up Python
uses: actions/[email protected]
with:
python-version-file: cloud-platform/aws/amazon-sagemaker/pytorch-mnist/pyproject.toml
- name: Install dependencies
working-directory: cloud-platform/aws/amazon-sagemaker/pytorch-mnist
run: |
uv sync --dev
- name: Test
working-directory: cloud-platform/aws/amazon-sagemaker/pytorch-mnist
run: |
uv run poe test-coverage
- name: Upload coverage to Codecov
uses: codecov/[email protected]
with:
directory: cloud-platform/aws/amazon-sagemaker/pytorch-mnist
amazon-sagemaker-triton-resnet-50-deploy-test:
name: Amazon SageMaker Triton ResNet 50 (Deploy) | Test
needs: detect-changes
if: ${{ needs.detect-changes.outputs.amazon-sagemaker-triton-resnet-50-deploy == 'true' }}
runs-on: ubuntu-24.04
environment: test
timeout-minutes: 10
steps:
- name: Checkout
uses: actions/[email protected]
- name: Install uv
uses: astral-sh/[email protected]
with:
version: 0.5.11
enable-cache: true
cache-dependency-glob: machine-learning/triton/amazon-sagemaker-triton-resnet-50/deploy/uv.lock
- name: Set up Python
uses: actions/[email protected]
with:
python-version-file: machine-learning/triton/amazon-sagemaker-triton-resnet-50/deploy/pyproject.toml
- name: Install dependencies
working-directory: machine-learning/triton/amazon-sagemaker-triton-resnet-50/deploy
run: |
uv sync --dev
- name: Test
working-directory: machine-learning/triton/amazon-sagemaker-triton-resnet-50/deploy
run: |
uv run poe test-coverage
- name: Upload coverage to Codecov
uses: codecov/[email protected]
with:
directory: machine-learning/triton/amazon-sagemaker-triton-resnet-50/deploy
amazon-sagemaker-triton-resnet-50-infer-test:
name: Amazon SageMaker Triton ResNet 50 (Infer) | Test