The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
chore: split tests running from coveralls upload (#43171)
Jordi Enric03351c784ab0
diff --git a/.github/workflows/studio-unit-tests.yml b/.github/workflows/studio-unit-tests.ymlindex 5a162731feb..1fdf431f538 100644--- a/.github/workflows/studio-unit-tests.yml+++ b/.github/workflows/studio-unit-tests.yml@@ -55,24 +55,29 @@ jobs:NODE_OPTIONS: '--max_old_space_size=3072'run: pnpm run test:ciworking-directory: ./apps/studio-- - name: Upload coverage results to Coveralls- uses: coverallsapp/github-action@648a8eb78e6d50909eff900e4ec85cab4524a45b # v2.3.6+ - name: Upload coverage artifact+ uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2with:- parallel: true- flag-name: studio-tests- github-token: ${{ secrets.GITHUB_TOKEN }}- path-to-lcov: ./apps/studio/coverage/lcov.info- base-path: './apps/studio'- fail-on-error: false+ name: studio-coverage+ path: ./apps/studio/coverage/lcov.info+ retention-days: 1- finish:+ coveralls:needs: test- if: ${{ always() }}+ if: ${{ always() && needs.test.result == 'success' }}+ continue-on-error: trueruns-on: blacksmith-4vcpu-ubuntu-2404steps:- - name: Coveralls Finished+ - name: Download coverage artifact+ uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0+ with:+ name: studio-coverage+ path: ./coverage+ - name: Upload coverage results to Coverallsuses: coverallsapp/github-action@648a8eb78e6d50909eff900e4ec85cab4524a45b # v2.3.6with:- parallel-finished: true+ flag-name: studio-testsgithub-token: ${{ secrets.GITHUB_TOKEN }}+ path-to-lcov: ./coverage/lcov.info+ base-path: './apps/studio'+ fail-on-error: falsediff --git a/.github/workflows/ui-tests.yml b/.github/workflows/ui-tests.ymlindex fc13c236d5c..f9e1df7479e 100644--- a/.github/workflows/ui-tests.yml+++ b/.github/workflows/ui-tests.yml@@ -44,23 +44,29 @@ jobs:- name: Run testsrun: pnpm run test:ciworking-directory: ./packages/ui-- - name: Upload coverage results to Coveralls- uses: coverallsapp/github-action@648a8eb78e6d50909eff900e4ec85cab4524a45b # v2.3.6+ - name: Upload coverage artifact+ uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2with:- parallel: true- flag-name: ui-tests- github-token: ${{ secrets.GITHUB_TOKEN }}- path-to-lcov: ./packages/ui/coverage/lcov.info- base-path: './packages/ui'+ name: ui-coverage+ path: ./packages/ui/coverage/lcov.info+ retention-days: 1- finish:+ coveralls:needs: test- if: ${{ always() }}+ if: ${{ always() && needs.test.result == 'success' }}+ continue-on-error: trueruns-on: blacksmith-4vcpu-ubuntu-2404steps:- - name: Coveralls Finished+ - name: Download coverage artifact+ uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0+ with:+ name: ui-coverage+ path: ./coverage+ - name: Upload coverage results to Coverallsuses: coverallsapp/github-action@648a8eb78e6d50909eff900e4ec85cab4524a45b # v2.3.6with:- parallel-finished: true+ flag-name: ui-testsgithub-token: ${{ secrets.GITHUB_TOKEN }}+ path-to-lcov: ./coverage/lcov.info+ base-path: './packages/ui'+ fail-on-error: falsediff --git a/apps/studio/components/interfaces/Reports/Reports.utils.test.ts b/apps/studio/components/interfaces/Reports/Reports.utils.test.tsindex 8884c0e8a70..8d407171165 100644--- a/apps/studio/components/interfaces/Reports/Reports.utils.test.ts+++ b/apps/studio/components/interfaces/Reports/Reports.utils.test.ts@@ -1,3 +1,4 @@+// @see studio-unit-tests.ymlimport { describe, it, expect } from 'vitest'import { formatTimestamp } from './Reports.utils'import dayjs from 'dayjs'