-
-
Notifications
You must be signed in to change notification settings - Fork 57
44 lines (39 loc) · 985 Bytes
/
tests.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
name: Run tests
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
on:
push:
branches:
- renovate/**
tags:
- '*'
pull_request:
env:
DENO_DIR: my_cache_directory
jobs:
test_base_sql:
runs-on: ubuntu-latest
name: "Run tests"
steps:
- name: Cache Deno dependencies
uses: actions/cache@v4
with:
path: ${{ env.DENO_DIR }}
key: my_cache_key
- name: "Checkout capgo"
uses: actions/checkout@v4
- name: Install Supabase CLI
uses: supabase/setup-cli@v1
with:
version: latest
- name: Run Supabase Start
run: supabase start -x imgproxy,studio,realtime,studio,logflare,vector,inbucket
- run: supabase test db
- name: Setup bun
uses: oven-sh/setup-bun@v2
with:
bun-version: latest
- name: Install dependencies
run: bun install
- run: bun run test:all