dpv007 commited on
Commit
b3091b3
·
unverified ·
1 Parent(s): 145f389

Delete .github

Browse files
Files changed (1) hide show
  1. .github/workflows/ci.yml +0 -77
.github/workflows/ci.yml DELETED
@@ -1,77 +0,0 @@
1
- name: KeyStone CI
2
-
3
- on:
4
- push:
5
- branches: [main]
6
- pull_request:
7
- branches: [main]
8
-
9
- jobs:
10
- backend-test:
11
- name: Backend Tests
12
- runs-on: ubuntu-latest
13
-
14
- services:
15
- postgres:
16
- image: postgres:16
17
- env:
18
- POSTGRES_USER: postgres
19
- POSTGRES_PASSWORD: postgres
20
- POSTGRES_DB: keystone_test
21
- ports:
22
- - 5432:5432
23
- options: >-
24
- --health-cmd pg_isready
25
- --health-interval 10s
26
- --health-timeout 5s
27
- --health-retries 5
28
-
29
- steps:
30
- - uses: actions/checkout@v4
31
-
32
- - name: Set up Python 3.11
33
- uses: actions/setup-python@v5
34
- with:
35
- python-version: "3.11"
36
-
37
- - name: Install dependencies
38
- run: |
39
- cd backend
40
- pip install --upgrade pip
41
- pip install -r requirements.txt
42
-
43
- - name: Run tests
44
- env:
45
- DATABASE_URL: postgresql+asyncpg://postgres:postgres@localhost:5432/keystone_test
46
- SUPABASE_URL: https://test.supabase.co
47
- SUPABASE_ANON_KEY: test-key
48
- SUPABASE_JWT_SECRET: test-secret-at-least-32-characters-long
49
- HF_TOKEN: hf_test
50
- HF_DATASET_REPO: test/repo
51
- run: |
52
- cd backend
53
- pytest tests/ -v --tb=short
54
-
55
- mobile-typecheck:
56
- name: Mobile TypeScript Check
57
- runs-on: ubuntu-latest
58
-
59
- steps:
60
- - uses: actions/checkout@v4
61
-
62
- - name: Set up Node.js
63
- uses: actions/setup-node@v4
64
- with:
65
- node-version: "20"
66
- cache: "npm"
67
- cache-dependency-path: mobile/package-lock.json
68
-
69
- - name: Install dependencies
70
- run: |
71
- cd mobile
72
- npm install
73
-
74
- - name: TypeScript type check
75
- run: |
76
- cd mobile
77
- npx tsc --noEmit