@@ -129,13 +129,94 @@ jobs:
129
129
130
130
- name : Run tests
131
131
run : cargo nextest run
132
+ test-custom-pager :
133
+ runs-on : ubuntu-latest
134
+ name : Run Tests
135
+ env :
136
+ RUSTFLAGS : -D warnings --cfg tokio_unstable
137
+ steps :
138
+ - uses : hecrj/setup-rust-action@v2
132
139
140
+ # needed because we run out of disk space during tests
141
+ - name : Free Disk Space (Ubuntu)
142
+ uses : jlumbroso/free-disk-space@main
143
+ with :
144
+ # this might remove tools that are actually needed,
145
+ # when set to "true" but frees about 6 GB
146
+ tool-cache : true
147
+
148
+ - name : Install deps
149
+ run : sudo apt update && sudo apt install -y libclang-dev
150
+
151
+ - name : Install protoc
152
+ uses : taiki-e/install-action@v2
153
+ with :
154
+ tool : protoc@${{ env.PROTOC_VERSION }}
155
+
156
+ - uses : taiki-e/install-action@v2
157
+ with :
158
+ tool : nextest
159
+
160
+ - uses : actions/checkout@v3
161
+
162
+ - name : Set up cargo cache
163
+ uses : actions/cache@v3
164
+ continue-on-error : false
165
+ with :
166
+ path : |
167
+ ~/.cargo/bin/
168
+ ~/.cargo/registry/index/
169
+ ~/.cargo/registry/cache/
170
+ ~/.cargo/git/db/
171
+ target/
172
+ key : ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
173
+ restore-keys : ${{ runner.os }}-cargo-
133
174
- name : Run tests with custom pager
134
175
env :
135
176
LIBSQL_EXPERIMENTAL_PAGER : 1000
136
177
run : cargo nextest run
137
- - name : clean build dir
138
- run : rm -rf libsql-ffi/bundled/SQLite3MultipleCiphers/build
178
+ test-encryption :
179
+ runs-on : ubuntu-latest
180
+ name : Run Tests
181
+ env :
182
+ RUSTFLAGS : -D warnings --cfg tokio_unstable
183
+ steps :
184
+ - uses : hecrj/setup-rust-action@v2
185
+
186
+ # needed because we run out of disk space during tests
187
+ - name : Free Disk Space (Ubuntu)
188
+ uses : jlumbroso/free-disk-space@main
189
+ with :
190
+ # this might remove tools that are actually needed,
191
+ # when set to "true" but frees about 6 GB
192
+ tool-cache : true
193
+
194
+ - name : Install deps
195
+ run : sudo apt update && sudo apt install -y libclang-dev
196
+
197
+ - name : Install protoc
198
+ uses : taiki-e/install-action@v2
199
+ with :
200
+ tool : protoc@${{ env.PROTOC_VERSION }}
201
+
202
+ - uses : taiki-e/install-action@v2
203
+ with :
204
+ tool : nextest
205
+
206
+ - uses : actions/checkout@v3
207
+
208
+ - name : Set up cargo cache
209
+ uses : actions/cache@v3
210
+ continue-on-error : false
211
+ with :
212
+ path : |
213
+ ~/.cargo/bin/
214
+ ~/.cargo/registry/index/
215
+ ~/.cargo/registry/cache/
216
+ ~/.cargo/git/db/
217
+ target/
218
+ key : ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
219
+ restore-keys : ${{ runner.os }}-cargo-
139
220
- name : embedded replica encryption tests
140
221
run : cargo xtask test-encryption
141
222
windows :
0 commit comments