ci: disable db tests for now
This commit is contained in:
@@ -33,27 +33,27 @@ test_unit:
|
|||||||
script:
|
script:
|
||||||
- npm run test:unit
|
- npm run test:unit
|
||||||
|
|
||||||
test_db:
|
# test_db:
|
||||||
needs: [deps, check_types, check_style]
|
# needs: [deps, check_types, check_style]
|
||||||
dependencies: [deps]
|
# dependencies: [deps]
|
||||||
before_script:
|
# before_script:
|
||||||
- mkdir ../${CI_COMMIT_SHA}
|
# - mkdir ../${CI_COMMIT_SHA}
|
||||||
- cp -r ./* ../${CI_COMMIT_SHA}/
|
# - cp -r ./* ../${CI_COMMIT_SHA}/
|
||||||
script:
|
# script:
|
||||||
- cd ../${CI_COMMIT_SHA}
|
# - cd ../${CI_COMMIT_SHA}
|
||||||
- npx supabase db diff -f dummy_migration
|
# - npx supabase db diff -f dummy_migration
|
||||||
- git add -N supabase/migrations
|
# - git add -N supabase/migrations
|
||||||
- >
|
# - >
|
||||||
if ! git diff --exit-code --quiet supabase/migrations; then
|
# if ! git diff --exit-code --quiet supabase/migrations; then
|
||||||
echo "Supabase migrations and schema are not in sync. See diff below:"
|
# echo "Supabase migrations and schema are not in sync. See diff below:"
|
||||||
git diff supabase/migrations
|
# git diff supabase/migrations
|
||||||
exit 1
|
# exit 1
|
||||||
fi
|
# fi
|
||||||
- npx supabase db start
|
# - npx supabase db start
|
||||||
- npx supabase db reset
|
# - npx supabase db reset
|
||||||
- npx supabase db lint
|
# - npx supabase db lint
|
||||||
after_script:
|
# after_script:
|
||||||
- npx supabase stop
|
# - npx supabase stop
|
||||||
|
|
||||||
# test_e2e:
|
# test_e2e:
|
||||||
# needs: [deps, check_types, check_style]
|
# needs: [deps, check_types, check_style]
|
||||||
@@ -64,7 +64,7 @@ test_db:
|
|||||||
# - npm run test:e2e
|
# - npm run test:e2e
|
||||||
|
|
||||||
build:
|
build:
|
||||||
needs: [deps, check_types, check_style, test_unit, test_db]
|
needs: [deps, check_types, check_style, test_unit]
|
||||||
dependencies: [deps]
|
dependencies: [deps]
|
||||||
script:
|
script:
|
||||||
- npm run build
|
- npm run build
|
||||||
|
|||||||
Reference in New Issue
Block a user