Repository navigation
101 lines (98 loc) · 3.39 KB
/
Copy pathapi_ci.yaml
File metadata and controls
101 lines (98 loc) · 3.39 KB
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
on:
workflow_dispatch:
push:
branches:
- main
paths:
- .github/scripts/prepare_api_service_secrets.py
- .github/scripts/test_prepare_api_service_secrets.py
- .github/scripts/verify_api_continuity.py
- .github/scripts/test_verify_api_continuity.py
- .github/scripts/deploy_api_drain.py
- .github/scripts/test_deploy_api_drain.py
- .github/scripts/test_verify_cloudsync_e2ee.py
- .github/scripts/verify_cloudsync_e2ee.py
- .github/workflows/api_cd.yaml
- .github/workflows/api_ci.yaml
- apps/api/**
- apps/stripe/**
- packages/supabase/**
- packages/user-error/**
- crates/agent-access/**
- crates/api-auth/**
- crates/api-calendar/**
- crates/api-nango/**
- crates/api-notion/**
- crates/api-cloud/**
- crates/api-subscription/**
- crates/api-sync/**
- crates/llm-proxy/**
- crates/mcp/**
- crates/supabase-auth/**
- crates/supabase-storage/**
- crates/transcribe-proxy/**
pull_request:
paths:
- .github/scripts/prepare_api_service_secrets.py
- .github/scripts/test_prepare_api_service_secrets.py
- .github/scripts/verify_api_continuity.py
- .github/scripts/test_verify_api_continuity.py
- .github/scripts/deploy_api_drain.py
- .github/scripts/test_deploy_api_drain.py
- .github/scripts/test_verify_cloudsync_e2ee.py
- .github/scripts/verify_cloudsync_e2ee.py
- .github/workflows/api_cd.yaml
- .github/workflows/api_ci.yaml
- apps/api/**
- apps/stripe/**
- packages/supabase/**
- packages/user-error/**
- crates/agent-access/**
- crates/api-auth/**
- crates/api-calendar/**
- crates/api-nango/**
- crates/api-notion/**
- crates/api-cloud/**
- crates/api-subscription/**
- crates/api-sync/**
- crates/llm-proxy/**
- crates/mcp/**
- crates/supabase-auth/**
- crates/supabase-storage/**
- crates/transcribe-proxy/**
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: read
jobs:
ci:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
with:
persist-credentials: false
- uses: actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0
with:
python-version: "3.12"
- uses: $/.github/actions/rust_install
with:
platform: linux
- run: cargo check -p api
- run: cargo test -p api-cloud
- run: cargo test -p api-auth
- run: cargo test --locked -p api-calendar -p api-nango -p api-notion
- run: cargo test -p mcp
- run: cargo test -p supabase-auth --features server
- run: cargo test -p api-sync
- run: cargo test --locked -p supabase-storage --test client
- run: cargo test --locked -p api-subscription
- run: cargo test -p transcribe-proxy --lib
- run: cargo test --locked -p api
- run: python3 .github/scripts/test_verify_cloudsync_e2ee.py
- run: python3 .github/scripts/test_verify_api_continuity.py
- run: python3 .github/scripts/test_deploy_api_drain.py
- run: python3 .github/scripts/test_prepare_api_service_secrets.py
- run: |
cargo test -p api gen_openapi_json
git diff --exit-code -- apps/api/openapi.gen.json