Skip to content

Commit

Permalink
chore(Root): hide test job in ci.yml file
Browse files Browse the repository at this point in the history
  • Loading branch information
dartilesm committed Sep 14, 2024
1 parent 0ef08f6 commit 47b64fd
Showing 1 changed file with 24 additions and 25 deletions.
49 changes: 24 additions & 25 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,39 +8,38 @@ on:
workflow_dispatch:

jobs:
test:
name: Supabase tests
runs-on: ubuntu-latest
# test:
# name: Supabase tests
# runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
# steps:
# - uses: actions/checkout@v3

- uses: supabase/setup-cli@v1
with:
version: latest
# - uses: supabase/setup-cli@v1
# with:
# version: latest

- name: Init Supabase local development setup
run: supabase init
# - name: Init Supabase local development setup
# run: supabase init

- name: Start Supabase local development setup
run: supabase start
# - name: Start Supabase local development setup
# run: supabase start

- name: Run Supabase lint locally
run: supabase db lint
# - name: Run Supabase lint locally
# run: supabase db lint

- name: Run Supabase tests locally
run: supabase test db
# - name: Run Supabase tests locally
# run: supabase test db

# - name: Verify generated types are checked in
# run: |
# supabase gen types typescript --local > apps/chat-with-pdf/database.types.ts
# if ! git diff --ignore-space-at-eol --exit-code --quiet types.gen.ts; then
# echo "Detected uncommitted changes after build. See status below:"
# git diff
# exit 1
# fi
# - name: Verify generated types are checked in
# run: |
# supabase gen types typescript --local > apps/chat-with-pdf/database.types.ts
# if ! git diff --ignore-space-at-eol --exit-code --quiet types.gen.ts; then
# echo "Detected uncommitted changes after build. See status below:"
# git diff
# exit 1
# fi
push:
needs: test
name: Push to Supabase
runs-on: ubuntu-latest
env:
Expand Down

0 comments on commit 47b64fd

Please sign in to comment.