@@ -31,29 +31,68 @@ jobs:
31
31
with :
32
32
extra-packages : any::testthat, any::decor, local::stochtree_cran
33
33
34
- - name : Create output directory for BART regression test results
34
+ - name : Create output directory for R regression test results
35
35
run : |
36
36
mkdir -p tools/regression/bart/stochtree_bart_r_results
37
37
mkdir -p tools/regression/bcf/stochtree_bcf_r_results
38
38
39
- - name : Run the BART regression test benchmark suite
39
+ - name : Run the R regression test benchmark suite
40
40
run : |
41
41
Rscript tools/regression/bart/regression_test_dispatch_bart.R
42
42
Rscript tools/regression/bcf/regression_test_dispatch_bcf.R
43
43
44
- - name : Collate and analyze regression test results
44
+ - name : Collate and analyze R regression test results
45
45
run : |
46
46
Rscript tools/regression/bart/regression_test_analysis_bart.R
47
47
Rscript tools/regression/bcf/regression_test_analysis_bcf.R
48
+
49
+ - name : Setup Python 3.10
50
+ uses : actions/setup-python@v5
51
+ with :
52
+ python-version : " 3.10"
53
+ cache : " pip"
54
+
55
+ - name : Install Package with Relevant Dependencies
56
+ run : |
57
+ pip install --upgrade pip
58
+ pip install -r requirements.txt
59
+ pip install .
60
+
61
+ - name : Create output directory for python regression test results
62
+ run : |
63
+ mkdir -p tools/regression/bart/stochtree_bart_python_results
64
+ mkdir -p tools/regression/bcf/stochtree_bcf_python_results
65
+
66
+ - name : Run the python regression test benchmark suite
67
+ run : |
68
+ python tools/regression/bart/regression_test_dispatch_bart.py
69
+ python tools/regression/bcf/regression_test_dispatch_bcf.py
48
70
49
- - name : Store BART benchmark test results as an artifact of the run
71
+ - name : Collate and analyze python regression test results
72
+ run : |
73
+ python tools/regression/bart/regression_test_analysis_bart.py
74
+ python tools/regression/bcf/regression_test_analysis_bcf.py
75
+
76
+ - name : Store R BART benchmark test results as an artifact of the run
50
77
uses : actions/upload-artifact@v4
51
78
with :
52
79
name : stochtree-r-bart-summary
53
80
path : tools/regression/bart/stochtree_bart_r_results/stochtree_bart_r_summary.csv
54
81
55
- - name : Store BCF benchmark test results as an artifact of the run
82
+ - name : Store R BCF benchmark test results as an artifact of the run
56
83
uses : actions/upload-artifact@v4
57
84
with :
58
85
name : stochtree-r-bcf-summary
59
86
path : tools/regression/bcf/stochtree_bcf_r_results/stochtree_bcf_r_summary.csv
87
+
88
+ - name : Store python BART benchmark test results as an artifact of the run
89
+ uses : actions/upload-artifact@v4
90
+ with :
91
+ name : stochtree-python-bart-summary
92
+ path : tools/regression/bart/stochtree_bart_python_results/stochtree_bart_python_summary.csv
93
+
94
+ - name : Store python BCF benchmark test results as an artifact of the run
95
+ uses : actions/upload-artifact@v4
96
+ with :
97
+ name : stochtree-python-bcf-summary
98
+ path : tools/regression/bcf/stochtree_bcf_python_results/stochtree_bcf_python_summary.csv
0 commit comments