File tree Expand file tree Collapse file tree 1 file changed +9
-2
lines changed
Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -245,9 +245,9 @@ jobs:
245245 cat > commands.sh << EOF
246246 mv -f /data/local/tmp/sqlite3 /system/xbin
247247 cd /data/local/tmp
248+ sqlite3 ":memory:" -cmd ".bail on" ".load ./dist/cloudsync" "SELECT cloudsync_version();"
248249 $(make test CC=$CC PLATFORM=$PLATFORM -n)
249250 EOF
250- find . -type f -exec du -h {} + | sort -h
251251 echo "::endgroup::"
252252
253253 - name : android test sqlite-sync
@@ -259,7 +259,6 @@ jobs:
259259 script : |
260260 adb root
261261 adb remount
262- adb shell mount | grep system
263262 adb push ${{ github.workspace }}/. /data/local/tmp/
264263 adb shell "sh /data/local/tmp/commands.sh"
265264
@@ -272,6 +271,14 @@ jobs:
272271 if : matrix.name == 'macos'
273272 run : brew install lcov && make test COVERAGE=true
274273
274+ - name : deploy coverage HTML to GitHub Pages
275+ if : matrix.name == 'macos'
276+ uses : peaceiris/actions-gh-pages@v4
277+ with :
278+ github_token : ${{ secrets.GITHUB_TOKEN }}
279+ publish_dir : ./coverage
280+ force_orphan : true
281+
275282276283 if : always()
277284 with :
You can’t perform that action at this time.
0 commit comments