[sync] feat(import): place imported tables under folder nodes T3116 #7211
This file contains hidden or 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/**' | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| name: Integration Tests - ${{ matrix.e2e.database-type }} ${{ matrix.e2e.shard }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| node-version: [22.22.3] | |
| e2e: | |
| - database-type: postgres | |
| shard: 1/4 | |
| - database-type: postgres | |
| shard: 2/4 | |
| - database-type: postgres | |
| shard: 3/4 | |
| - database-type: postgres | |
| shard: 4/4 | |
| 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 | |
| VITEST_SHARD: ${{ matrix.e2e.shard }} | |
| VITEST_REPORTER: blob | |
| run: | | |
| make ${{ matrix.e2e.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 | |
| # Coveralls-recommended: report upload failures as warnings so | |
| # coveralls.io downtime cannot fail test-green jobs. | |
| fail-on-error: false | |
| finish: | |
| needs: test | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Coveralls Finished | |
| uses: coverallsapp/github-action@v2 | |
| with: | |
| parallel-finished: true | |
| fail-on-error: false |