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,45 @@ 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 : make stop
127
+ if : always()
128
+
129
+ # ####
130
+ # Test with local disk cache
131
+ # ####
132
+
133
+ - name : Run active storage container with local disk cache
134
+ run : make run-with-cache
135
+
136
+ - name : Wait for active storage server to start
137
+ run : |
138
+ until curl -if http://localhost:8080/.well-known/reductionist-schema; do
139
+ sleep 1;
140
+ done
141
+
142
+ - name : Run compliance test suite
143
+ run : pytest -s > artifacts/pytest-with-cache.log
144
+
145
+ - name : Get active storage logs
146
+ run : docker logs reductionist > artifacts/reductionist-with-cache.log
147
+ if : always()
148
+
149
+ - name : Stop active storage container
150
+ run : make stop
151
+ if : always()
152
+
153
+ # ####
154
+ # Clean up steps
155
+ # ####
156
+
121
157
- name : Upload artifacts
122
158
uses : actions/upload-artifact@v4
123
159
with :
@@ -129,9 +165,6 @@ jobs:
129
165
run : scripts/minio-stop
130
166
if : always()
131
167
132
- - name : Stop active storage container
133
- run : make stop
134
- if : always()
135
168
deployment-test :
136
169
runs-on : ubuntu-latest
137
170
steps :
@@ -183,6 +216,7 @@ jobs:
183
216
sudo ip a
184
217
sudo ip r
185
218
if : failure()
219
+
186
220
dependency-review :
187
221
runs-on : ubuntu-latest
188
222
if : github.event_name == 'pull_request'
0 commit comments