Skip to content

Add basic lint, build, and test CI workflow #1

Add basic lint, build, and test CI workflow

Add basic lint, build, and test CI workflow #1

Workflow file for this run

name: CI
on:
pull_request:
push:
branches:
- master
permissions:
contents: read
jobs:
lint:
name: lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: actions/setup-python@v6
with:
python-version: '3.11'
- name: Lint (syntax check)
run: |
echo "No dedicated linter configured; running Python syntax check via compileall."
python -m compileall libs stack
ci:
name: ci
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: actions/setup-python@v6
with:
python-version: '3.11'
- name: Install Poetry
run: pip install poetry
- name: Build and test
run: |
PROJECTS="libs/libml libs/libmq libs/libtelemetry stack/service-ml-common stack/service-ml-custom stack/service-one stack/service-two"
for proj in $PROJECTS; do
echo "==== Building $proj ===="
( cd "$proj" && poetry build )
done
echo "No test files found in the repository; build completed."