Skip to content

Enable full-text search (FTS5) #734

Enable full-text search (FTS5)

Enable full-text search (FTS5) #734

Workflow file for this run

name: tests
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Install Deno
run: curl -fsSL https://deno.land/x/install/install.sh | sh
- uses: actions/checkout@v1
- name: Run the formatter
run: |
shopt -s globstar failglob
/home/runner/.deno/bin/deno fmt --check
- name: Build SQLite
id: build
run: |
export DENO_INSTALL="/home/runner/.deno"
export PATH="$DENO_INSTALL/bin:$PATH"
sudo apt-get -y install --no-install-recommends tclsh gcc brotli
cd build
make setup amalgamation release
- name: Set Timezone to Non-UTC
run: sudo timedatectl set-timezone America/New_York
- name: Generate Test Database
run: |
cd build
make testdb
- name: Run tests
run: /home/runner/.deno/bin/deno test --allow-read --allow-write
- name: Run tests (unstable)
run: /home/runner/.deno/bin/deno test --unstable --allow-read --allow-write
- name: Run benchmarks
run: /home/runner/.deno/bin/deno run bench.ts