Skip to content

Commit 3b37ca5

Browse files
committed
Add basic lint, build, and test CI workflow
Adds .github/workflows/ci.yml with independent lint and ci jobs running on pull requests and pushes to the default branch. No publish or deploy steps.
1 parent e038029 commit 3b37ca5

1 file changed

Lines changed: 42 additions & 0 deletions

File tree

‎.github/workflows/ci.yml‎

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
name: CI
2+
3+
on:
4+
pull_request:
5+
push:
6+
branches:
7+
- master
8+
9+
permissions:
10+
contents: read
11+
12+
jobs:
13+
lint:
14+
name: lint
15+
runs-on: ubuntu-latest
16+
steps:
17+
- uses: actions/checkout@v5
18+
- uses: actions/setup-python@v6
19+
with:
20+
python-version: '3.11'
21+
- name: Lint (syntax check)
22+
run: |
23+
echo "No dedicated linter configured; running Python syntax check via compileall."
24+
python -m compileall libs stack
25+
ci:
26+
name: ci
27+
runs-on: ubuntu-latest
28+
steps:
29+
- uses: actions/checkout@v5
30+
- uses: actions/setup-python@v6
31+
with:
32+
python-version: '3.11'
33+
- name: Install Poetry
34+
run: pip install poetry
35+
- name: Build and test
36+
run: |
37+
PROJECTS="libs/libml libs/libmq libs/libtelemetry stack/service-ml-common stack/service-ml-custom stack/service-one stack/service-two"
38+
for proj in $PROJECTS; do
39+
echo "==== Building $proj ===="
40+
( cd "$proj" && poetry build )
41+
done
42+
echo "No test files found in the repository; build completed."

0 commit comments

Comments
 (0)