check that sqlite library is compiled with threadsafe code (#63)

This commit is contained in:
Efim Poberezkin
2021-03-02 22:30:59 +04:00
committed by GitHub
parent a3990ea170
commit 660e35d1d1
5 changed files with 28 additions and 2 deletions

View File

@@ -30,5 +30,10 @@ jobs:
path: ~/.stack
key: ${{ runner.os }}-${{ hashFiles('stack.yaml') }}
- name: Log SQLite default threading mode
run: |
sqlite3 test.db "pragma COMPILE_OPTIONS;" | grep THREADSAFE
rm test.db
- name: Build and run tests
run: stack build --test