feat: search result highlight #1849
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Integration Tests | |
on: | |
push: | |
branches: | |
- develop | |
pull_request: | |
branches: | |
- develop | |
paths: | |
- 'apps/nestjs-backend/**' | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
name: Integration Tests | |
strategy: | |
fail-fast: false | |
matrix: | |
node-version: [20.9.0] | |
database-type: [postgres, sqlite] | |
env: | |
CI: 1 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: 📥 Monorepo install | |
uses: ./.github/actions/pnpm-install | |
- name: 🧪 Run Tests | |
env: | |
CI: 1 | |
VITEST_MAX_THREADS: 2 | |
VITEST_MIN_THREADS: 1 | |
run: | | |
make ${{ matrix.database-type }}.integration.test | |
pnpm -F "@teable/backend" test-unit-cover | |
pnpm -F "@teable/backend" merge-cover | |
pnpm -F "@teable/backend" generate-cover | |
- name: Coveralls Parallel | |
uses: coverallsapp/github-action@v2 | |
with: | |
flag-name: run-${{ join(matrix.*, '-') }} | |
file: apps/nestjs-backend/coverage/nestjs-backend/clover.xml | |
parallel: true | |
finish: | |
needs: test | |
runs-on: ubuntu-latest | |
steps: | |
- name: Coveralls Finished | |
uses: coverallsapp/github-action@v2 | |
with: | |
parallel-finished: true |