Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

Attempt to fix coveralls upload step (#43285)

Joshen Lim1b5e47234098
diff --git a/.github/workflows/studio-unit-tests.yml b/.github/workflows/studio-unit-tests.yml
index 3c8db2064e9..f7e96718d5e 100644
--- a/.github/workflows/studio-unit-tests.yml
+++ b/.github/workflows/studio-unit-tests.yml
@@ -79,6 +79,10 @@ jobs:
continue-on-error: true
runs-on: blacksmith-4vcpu-ubuntu-2404
steps:
+ - uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
+ with:
+ sparse-checkout: |
+ apps/studio
- name: Download coverage artifact
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
with:
diff --git a/apps/studio/components/interfaces/Auth/Policies/PolicyEditorModal/index.tsx b/apps/studio/components/interfaces/Auth/Policies/PolicyEditorModal/index.tsx
index 96de1a741d8..8460189bed3 100644
--- a/apps/studio/components/interfaces/Auth/Policies/PolicyEditorModal/index.tsx
+++ b/apps/studio/components/interfaces/Auth/Policies/PolicyEditorModal/index.tsx
@@ -19,7 +19,7 @@ import {
createSQLPolicy,
} from '../Policies.utils'
import PolicyEditor from '../PolicyEditor'
-import PolicyReview from '../PolicyReview'
+import { PolicyReview } from '../PolicyReview'
import PolicySelection from '../PolicySelection'
import PolicyTemplates from '../PolicyTemplates'
import { PolicyTemplate } from '../PolicyTemplates/PolicyTemplates.constants'
diff --git a/apps/studio/components/interfaces/Auth/Policies/PolicyReview.tsx b/apps/studio/components/interfaces/Auth/Policies/PolicyReview.tsx
index 69d3e94d0d3..f6cdc8f45ec 100644
--- a/apps/studio/components/interfaces/Auth/Policies/PolicyReview.tsx
+++ b/apps/studio/components/interfaces/Auth/Policies/PolicyReview.tsx
@@ -2,6 +2,7 @@ import SqlEditor from 'components/ui/SqlEditor'
import { isEmpty, noop } from 'lodash'
import { useState } from 'react'
import { Button, Modal } from 'ui'
+
import type { PolicyForReview } from './Policies.types'
interface PolicyReviewProps {
@@ -10,7 +11,7 @@ interface PolicyReviewProps {
onSelectSave: () => void
}
-const PolicyReview = ({
+export const PolicyReview = ({
policy = {},
onSelectBack = noop,
onSelectSave = noop,