-
Notifications
You must be signed in to change notification settings - Fork 0
73 lines (66 loc) · 1.92 KB
/
Copy pathci.yml
File metadata and controls
73 lines (66 loc) · 1.92 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
# Use this workflow when planvault-examples is the Git repository root.
# In the PlanVault monorepo, copy or invoke these jobs from a workflow under /.github/workflows/ if you want CI here.
name: planvault-examples
on:
push:
pull_request:
defaults:
run:
working-directory: .
jobs:
react-chat:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "20"
cache: npm
cache-dependency-path: frontend/react-chat/package-lock.json
- run: npm ci && npm test && npm run build
working-directory: frontend/react-chat
scala-worker:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: temurin
java-version: "17"
cache: sbt
- uses: sbt/setup-sbt@v1
- run: sbt test
working-directory: webhooks/kafka-trigger/scala-fs2
java-worker:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: temurin
java-version: "17"
cache: maven
- run: mvn -B -q verify
working-directory: webhooks/kafka-trigger/java-spring
python:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.12"
- run: pip install pytest
- uses: astral-sh/ruff-action@v3
with:
src: >-
webhooks/kafka-trigger/python-confluent
mcp/python-sqlite
webhooks/kafka-trigger/python-confluent/tests
mcp/python-sqlite/tests
- run: pytest
shellcheck:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: sudo apt-get update && sudo apt-get install -y shellcheck
- run: shellcheck scripts/bash-e2e/script.sh