99
99
sleep 1;
100
100
done
101
101
102
+ - name : Create artifacts directory
103
+ run : mkdir artifacts
104
+
105
+ # ####
106
+ # Test without local disk cache
107
+ # ####
108
+
102
109
- name : Run active storage container
103
110
run : make run
104
111
@@ -108,16 +115,43 @@ jobs:
108
115
sleep 1;
109
116
done
110
117
111
- - name : Create artifacts directory
112
- run : mkdir artifacts
113
-
114
118
- name : Run compliance test suite
115
119
run : pytest -s > artifacts/pytest.log
116
120
117
121
- name : Get active storage logs
118
122
run : docker logs reductionist > artifacts/reductionist.log
119
123
if : always()
120
124
125
+ - name : Stop active storage container
126
+ run : docker stop reductionist
127
+
128
+ # ####
129
+ # Test with local disk cache
130
+ # ####
131
+
132
+ - name : Run active storage container with local disk cache
133
+ run : make run-with-cache
134
+
135
+ - name : Wait for active storage server to start
136
+ run : |
137
+ until curl -if http://localhost:8080/.well-known/reductionist-schema; do
138
+ sleep 1;
139
+ done
140
+
141
+ - name : Run compliance test suite
142
+ run : pytest -s > artifacts/pytest-with-cache.log
143
+
144
+ - name : Get active storage logs
145
+ run : docker logs reductionist > artifacts/reductionist-with-cache.log
146
+ if : always()
147
+
148
+ - name : Stop active storage container
149
+ run : docker stop reductionist
150
+
151
+ # ####
152
+ # Clean up steps
153
+ # ####
154
+
121
155
- name : Upload artifacts
122
156
uses : actions/upload-artifact@v4
123
157
with :
@@ -132,6 +166,7 @@ jobs:
132
166
- name : Stop active storage container
133
167
run : make stop
134
168
if : always()
169
+
135
170
deployment-test :
136
171
runs-on : ubuntu-latest
137
172
steps :
@@ -183,6 +218,7 @@ jobs:
183
218
sudo ip a
184
219
sudo ip r
185
220
if : failure()
221
+
186
222
dependency-review :
187
223
runs-on : ubuntu-latest
188
224
if : github.event_name == 'pull_request'
0 commit comments